summaryrefslogtreecommitdiffstats
path: root/src/Enchantments.h
diff options
context:
space:
mode:
authorTheJumper <maximilian.springer@web.de>2014-02-22 22:57:40 +0100
committerTheJumper <maximilian.springer@web.de>2014-02-22 22:57:40 +0100
commit90574d083da08ccd6699bdad403601e282d73b89 (patch)
treec067f5041bab30081d31ae9b7b9858c00709ba9b /src/Enchantments.h
parentFixed Looting segment fault - a_Killer can be NULL (diff)
downloadcuberite-90574d083da08ccd6699bdad403601e282d73b89.tar
cuberite-90574d083da08ccd6699bdad403601e282d73b89.tar.gz
cuberite-90574d083da08ccd6699bdad403601e282d73b89.tar.bz2
cuberite-90574d083da08ccd6699bdad403601e282d73b89.tar.lz
cuberite-90574d083da08ccd6699bdad403601e282d73b89.tar.xz
cuberite-90574d083da08ccd6699bdad403601e282d73b89.tar.zst
cuberite-90574d083da08ccd6699bdad403601e282d73b89.zip
Diffstat (limited to 'src/Enchantments.h')
-rw-r--r--src/Enchantments.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/Enchantments.h b/src/Enchantments.h
index e984df92e..14a900e19 100644
--- a/src/Enchantments.h
+++ b/src/Enchantments.h
@@ -21,6 +21,38 @@ class cParsedNBT;
+// ENCHANTMENT IDS
+enum
+{
+ E_ENCHANTMENT_PROTECTION = 0,
+ E_ENCHANTMENT_FIRE_PROTECTION = 1,
+ E_ENCHANTMENT_FEATHER_FALLING = 2,
+ E_ENCHANTMENT_BLAST_PROTECTION = 3,
+ E_ENCHANTMENT_PROJECTILE_PROTECTION= 4,
+ E_ENCHANTMENT_RESPIRATION = 5,
+ E_ENCHANTMENT_AQUA_AFFINITY = 6,
+ E_ENCHANTMENT_THORNS = 7,
+ E_ENCHANTMENT_SHARPNESS = 16,
+ E_ENCHANTMENT_SMITE = 17,
+ E_ENCHANTMENT_BANE_OF_ARTHROPODS = 18,
+ E_ENCHANTMENT_KNOCKBACK = 19,
+ E_ENCHANTMENT_FIREASPECT = 20,
+ E_ENCHANTMENT_LOOTING = 21,
+ E_ENCHANTMENT_EFFICIENCY = 32,
+ E_ENCHANTMENT_SILKTOUCH = 33,
+ E_ENCHANTMENT_UNBREAKING = 34,
+ E_ENCHANTMENT_FORTUNE = 35,
+ E_ENCHANTMENT_POWER = 48,
+ E_ENCHANTMENT_PUNCH = 49,
+ E_ENCHANTMENT_FLAME = 50,
+ E_ENCHANTMENT_INFINITY = 51,
+ E_ENCHANTMENT_LUCKOFTHESEA = 61,
+ E_ENCHANTMENT_LURE = 62,
+};
+
+
+
+
/** Class that stores item enchantments or stored-enchantments
The enchantments may be serialized to a stringspec and read back from such stringspec.