diff options
author | Mattes D <github@xoft.cz> | 2014-03-16 21:43:33 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-03-16 21:43:33 +0100 |
commit | dc77cbfdc47016e0cb2a5ba9e4b18a1cb6896805 (patch) | |
tree | 0b599b418d62011ddc5f6ebb2702d7c4f6e1567e /src/WorldStorage/WSSAnvil.h | |
parent | Wrong if in BlockLeaves (diff) | |
parent | Fix anvil pickups. (diff) | |
download | cuberite-dc77cbfdc47016e0cb2a5ba9e4b18a1cb6896805.tar cuberite-dc77cbfdc47016e0cb2a5ba9e4b18a1cb6896805.tar.gz cuberite-dc77cbfdc47016e0cb2a5ba9e4b18a1cb6896805.tar.bz2 cuberite-dc77cbfdc47016e0cb2a5ba9e4b18a1cb6896805.tar.lz cuberite-dc77cbfdc47016e0cb2a5ba9e4b18a1cb6896805.tar.xz cuberite-dc77cbfdc47016e0cb2a5ba9e4b18a1cb6896805.tar.zst cuberite-dc77cbfdc47016e0cb2a5ba9e4b18a1cb6896805.zip |
Diffstat (limited to 'src/WorldStorage/WSSAnvil.h')
-rw-r--r-- | src/WorldStorage/WSSAnvil.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/WorldStorage/WSSAnvil.h b/src/WorldStorage/WSSAnvil.h index fe93d16c3..50d0e555e 100644 --- a/src/WorldStorage/WSSAnvil.h +++ b/src/WorldStorage/WSSAnvil.h @@ -20,6 +20,7 @@ class cItemGrid; class cProjectileEntity; +class cHangingEntity; @@ -149,6 +150,10 @@ protected: void LoadBoatFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx); void LoadFallingBlockFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx); void LoadPickupFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx); + void LoadTNTFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx); + void LoadExpOrbFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx); + void LoadHangingFromNBT (cHangingEntity & a_Hanging,const cParsedNBT & a_NBT, int a_TagIdx); + void LoadItemFrameFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx); void LoadMinecartRFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx); void LoadMinecartCFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx); @@ -192,7 +197,6 @@ protected: void LoadWolfFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx); void LoadZombieFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx); void LoadPigZombieFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx); - void LoadTNTFromNBT (cEntityList & a_Entities, const cParsedNBT & a_NBT, int a_TagIdx); /// Loads entity common data from the NBT compound; returns true if successful bool LoadEntityBaseFromNBT(cEntity & a_Entity, const cParsedNBT & a_NBT, int a_TagIdx); |