diff options
Diffstat (limited to 'Minecraft.World/AddEntityPacket.h')
| -rw-r--r-- | Minecraft.World/AddEntityPacket.h | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/Minecraft.World/AddEntityPacket.h b/Minecraft.World/AddEntityPacket.h index 5ac7286c..29396479 100644 --- a/Minecraft.World/AddEntityPacket.h +++ b/Minecraft.World/AddEntityPacket.h @@ -8,35 +8,34 @@ class AddEntityPacket : public Packet, public enable_shared_from_this<AddEntityP public: static const int BOAT = 1; static const int ITEM = 2; - static const int MINECART_RIDEABLE = 10; - static const int MINECART_CHEST = 11; - static const int MINECART_FURNACE = 12; - static const int PRIMED_TNT = 50; + static const int MINECART = 10; + static const int PRIMED_TNT = 50; static const int ENDER_CRYSTAL = 51; - static const int ARROW = 60; - static const int SNOWBALL = 61; - static const int EGG = 62; - static const int FIREBALL = 63; + static const int ARROW = 60; + static const int SNOWBALL = 61; + static const int EGG = 62; + static const int FIREBALL = 63; static const int SMALL_FIREBALL = 64; static const int THROWN_ENDERPEARL = 65; - - static const int FALLING = 70; + static const int WITHER_SKULL = 66; + static const int FALLING = 70; static const int ITEM_FRAME = 71; static const int EYEOFENDERSIGNAL = 72; static const int THROWN_POTION = 73; static const int FALLING_EGG = 74; static const int THROWN_EXPBOTTLE = 75; - + static const int FIREWORKS = 76; + static const int LEASH_KNOT = 77; static const int FISH_HOOK = 90; // 4J Added TU9 static const int DRAGON_FIRE_BALL = 200; - int id; - int x, y, z; - int xa, ya, za; - int type; - int data; + int id; + int x, y, z; + int xa, ya, za; + int type; + int data; byte yRot,xRot; // 4J added private: @@ -44,7 +43,7 @@ private: public: AddEntityPacket(); - AddEntityPacket(shared_ptr<Entity> e, int type, int yRotp, int xRotp, int xp, int yp, int zp); + AddEntityPacket(shared_ptr<Entity> e, int type, int yRotp, int xRotp, int xp, int yp, int zp); AddEntityPacket(shared_ptr<Entity> e, int type, int data, int yRotp, int xRotp, int xp, int yp, int zp ); virtual void read(DataInputStream *dis); |
