diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-16 12:25:53 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-16 12:25:53 +0200 |
commit | cbde4f546a3135d9889b37aa227468106958a94a (patch) | |
tree | 0444a5f3d1797a01fb6a4c01def9933084652e8c /source/BlockID.h | |
parent | Feature and bugfixes [SEE DESC] (diff) | |
parent | Replaced E_ENTITY_TYPE_XXX with cMonster::mtXXX. (diff) | |
download | cuberite-cbde4f546a3135d9889b37aa227468106958a94a.tar cuberite-cbde4f546a3135d9889b37aa227468106958a94a.tar.gz cuberite-cbde4f546a3135d9889b37aa227468106958a94a.tar.bz2 cuberite-cbde4f546a3135d9889b37aa227468106958a94a.tar.lz cuberite-cbde4f546a3135d9889b37aa227468106958a94a.tar.xz cuberite-cbde4f546a3135d9889b37aa227468106958a94a.tar.zst cuberite-cbde4f546a3135d9889b37aa227468106958a94a.zip |
Diffstat (limited to 'source/BlockID.h')
-rw-r--r-- | source/BlockID.h | 60 |
1 files changed, 15 insertions, 45 deletions
diff --git a/source/BlockID.h b/source/BlockID.h index eaf234c7b..b1c952857 100644 --- a/source/BlockID.h +++ b/source/BlockID.h @@ -478,16 +478,16 @@ enum E_META_TORCH_ZP = 4, // Torch attached to the ZP side of its block // E_BLOCK_WOODEN_DOUBLE_STEP metas: - E_BLOCK_WOODEN_DOUBLE_STEP_APPLE = 0, - E_BLOCK_WOODEN_DOUBLE_STEP_CONIFER = 1, - E_BLOCK_WOODEN_DOUBLE_STEP_BIRCH = 2, - E_BLOCK_WOODEN_DOUBLE_STEP_JUNGLE = 3, + E_META_WOODEN_DOUBLE_STEP_APPLE = 0, + E_META_WOODEN_DOUBLE_STEP_CONIFER = 1, + E_META_WOODEN_DOUBLE_STEP_BIRCH = 2, + E_META_WOODEN_DOUBLE_STEP_JUNGLE = 3, // E_BLOCK_WOODEN_STEP metas: - E_BLOCK_WOODEN_STEP_APPLE = 0, - E_BLOCK_WOODEN_STEP_CONIFER = 1, - E_BLOCK_WOODEN_STEP_BIRCH = 2, - E_BLOCK_WOODEN_STEP_JUNGLE = 3, + E_META_WOODEN_STEP_APPLE = 0, + E_META_WOODEN_STEP_CONIFER = 1, + E_META_WOODEN_STEP_BIRCH = 2, + E_META_WOODEN_STEP_JUNGLE = 3, // E_BLOCK_WOOL metas: E_META_WOOL_WHITE = 0, @@ -541,8 +541,8 @@ enum E_META_TRACKS_X = 1, E_META_TRACKS_Z = 0, - // E_ITEM_SPAWN_EGG spawn EntityIDs: - // See also E_ENTITY_TYPE_XXX, since entity type and spawn egg meta are the same + // E_ITEM_SPAWN_EGG metas: + // See also cMonster::eType, since monster type and spawn egg meta are the same E_META_SPAWN_EGG_CREEPER = 50, E_META_SPAWN_EGG_SKELETON = 51, E_META_SPAWN_EGG_SPIDER = 52, @@ -557,6 +557,9 @@ enum E_META_SPAWN_EGG_BLAZE = 61, E_META_SPAWN_EGG_MAGMA_CUBE = 62, E_META_SPAWN_EGG_ENDER_DRAGON = 63, + E_META_SPAWN_EGG_WITHER = 64, + E_META_SPAWN_EGG_BAT = 65, + E_META_SPAWN_EGG_WITCH = 66, E_META_SPAWN_EGG_PIG = 90, E_META_SPAWN_EGG_SHEEP = 91, E_META_SPAWN_EGG_COW = 92, @@ -567,48 +570,15 @@ enum E_META_SPAWN_EGG_SNOW_GOLEM = 97, E_META_SPAWN_EGG_OCELOT = 98, E_META_SPAWN_EGG_IRON_GOLEM = 99, + E_META_SPAWN_EGG_HORSE = 100, E_META_SPAWN_EGG_VILLAGER = 120, } ; -enum -{ - // See also E_META_SPAWN_EGG_XXX, since entity type and spawn egg meta are the same - E_ENTITY_TYPE_CREEPER = 50, - E_ENTITY_TYPE_SKELETON = 51, - E_ENTITY_TYPE_SPIDER = 52, - E_ENTITY_TYPE_GIANT = 53, - E_ENTITY_TYPE_ZOMBIE = 54, - E_ENTITY_TYPE_SLIME = 55, - E_ENTITY_TYPE_GHAST = 56, - E_ENTITY_TYPE_ZOMBIE_PIGMAN = 57, - E_ENTITY_TYPE_ENDERMAN = 58, - E_ENTITY_TYPE_CAVE_SPIDER = 59, - E_ENTITY_TYPE_SILVERFISH = 60, - E_ENTITY_TYPE_BLAZE = 61, - E_ENTITY_TYPE_MAGMA_CUBE = 62, - E_ENTITY_TYPE_ENDER_DRAGON = 63, - E_ENTITY_TYPE_WITHER = 64, - E_ENTITY_TYPE_BAT = 65, - E_ENTITY_TYPE_WITCH = 66, - E_ENTITY_TYPE_PIG = 90, - E_ENTITY_TYPE_SHEEP = 91, - E_ENTITY_TYPE_COW = 92, - E_ENTITY_TYPE_CHICKEN = 93, - E_ENTITY_TYPE_SQUID = 94, - E_ENTITY_TYPE_WOLF = 95, - E_ENTITY_TYPE_MOOSHROOM = 96, - E_ENTITY_TYPE_SNOW_GOLEM = 97, - E_ENTITY_TYPE_OCELOT = 98, - E_ENTITY_TYPE_IRON_GOLEM = 99, - E_ENTITY_TYPE_VILLAGER = 120, -} ; - - - +/// Dimension of a world enum eDimension { dimNether = -1, |