FourKit 29eeeb8
The LCE C# Server Plugin API
Loading...
Searching...
No Matches
Minecraft.Server.FourKit.Enchantments Namespace Reference

Classes

class  AquaAffinityEnchantment
class  BaneOfArthropodsEnchantment
class  BlastProtectionEnchantment
class  EfficiencyEnchantment
class  Enchantment
class  FeatherFallingEnchantment
class  FireAspectEnchantment
class  FireProtectionEnchantment
class  FlameEnchantment
class  FortuneEnchantment
class  InfinityEnchantment
class  KnockbackEnchantment
class  LootingEnchantment
class  PowerEnchantment
class  ProjectileProtectionEnchantment
class  ProtectionEnchantment
class  PunchEnchantment
class  RespirationEnchantment
class  SharpnessEnchantment
class  SilkTouchEnchantment
class  SmiteEnchantment
class  ThornsEnchantment
class  UnbreakingEnchantment

Enumerations

enum  EnchantmentTarget {
  ALL , ARMOR , ARMOR_FEET , ARMOR_HEAD ,
  ARMOR_LEGS , ARMOR_TORSO , BOW , TOOL ,
  WEAPON
}
 Represents the applicable target for a Enchantment. More...
enum  EnchantmentType {
  ARROW_DAMAGE = 48 , ARROW_FIRE = 50 , ARROW_INFINITE = 51 , ARROW_KNOCKBACK = 49 ,
  DAMAGE_ALL = 16 , DAMAGE_ARTHOPODS = 18 , DAMAGE_UNDEAD = 17 , DIG_SPEAD = 32 ,
  DURABILITY = 34 , FIRE_ASPECT = 20 , KNOCKBACK = 19 , LOOT_BONUS_BLOCKS = 35 ,
  LOOT_BONUS_MOBS = 21 , OXYGEN = 5 , PROTECTION_ENVIRONMENTAL = 0 , PROTECTION_EXPLOSIVE = 3 ,
  PROTECTION_FALL = 2 , PROTECTION_FIRE = 1 , PROTECTION_PROJECTILE = 4 , SILK_TOUCH = 33 ,
  THORNS = 7 , WATER_WORKER = 6
}
 The various type of enchantments that may be added to armour or weapons. More...

Enumeration Type Documentation

◆ EnchantmentTarget

Represents the applicable target for a Enchantment.

Enumerator
ALL 

Allows the Enchantment to be placed on all items.

ARMOR 

Allows the Enchantment to be placed on armor.

ARMOR_FEET 

Allows the Enchantment to be placed on feet slot armor.

ARMOR_HEAD 

Allows the Enchantment to be placed on head slot armor.

ARMOR_LEGS 

Allows the Enchantment to be placed on leg slot armor.

ARMOR_TORSO 

Allows the Enchantment to be placed on torso slot armor.

BOW 

Allows the Enchantment to be placed on bows.

TOOL 

Allows the Enchantment to be placed on tools (spades, pickaxe, hoes, axes).

WEAPON 

Allows the Enchantment to be placed on weapons (swords).

◆ EnchantmentType

The various type of enchantments that may be added to armour or weapons.

Enumerator
ARROW_DAMAGE 

Provides extra damage when shooting arrows from bows.

ARROW_FIRE 

Sets entities on fire when hit by arrows shot from a bow.

ARROW_INFINITE 

Provides infinite arrows when shooting a bow.

ARROW_KNOCKBACK 

Provides a knockback when an entity is hit by an arrow from a bow.

DAMAGE_ALL 

Increases damage against all targets.

DAMAGE_ARTHOPODS 

Increases damage against arthropod targets.

DAMAGE_UNDEAD 

Increases damage against undead targets.

DIG_SPEAD 

Increases the rate at which you mine/dig.

DURABILITY 

Decreases the rate at which a tool looses durability.

FIRE_ASPECT 

When attacking a target, has a chance to set them on fire.

KNOCKBACK 

All damage to other targets will knock them back when hit.

LOOT_BONUS_BLOCKS 

Provides a chance of gaining extra loot when destroying blocks.

LOOT_BONUS_MOBS 

Provides a chance of gaining extra loot when killing monsters.

OXYGEN 

Decreases the rate of air loss whilst underwater.

PROTECTION_ENVIRONMENTAL 

Provides protection against environmental damage.

PROTECTION_EXPLOSIVE 

Provides protection against explosive damage.

PROTECTION_FALL 

Provides protection against fall damage.

PROTECTION_FIRE 

Provides protection against fire damage.

PROTECTION_PROJECTILE 

Provides protection against projectile damage.

SILK_TOUCH 

Allows blocks to drop themselves instead of fragments (for example, stone instead of cobblestone).

THORNS 

Damages the attacker.

WATER_WORKER 

Increases the speed at which a player may mine underwater.