From 5c3235ecdc3f718ce20e006f1ecfa2159df82c87 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 26 May 2013 14:39:04 +0000 Subject: Implemented droppers Added a common ancestor class "DropSpenser" that has the common code for dropper and dispenser and is Lua-accessible, too. The Debuggers plugin now triggers both droppers and dispensers when rclking them with a redstone torch. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1514 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/WorldStorage/NBTChunkSerializer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/WorldStorage/NBTChunkSerializer.h') diff --git a/source/WorldStorage/NBTChunkSerializer.h b/source/WorldStorage/NBTChunkSerializer.h index 5c59ca490..47389dfe8 100644 --- a/source/WorldStorage/NBTChunkSerializer.h +++ b/source/WorldStorage/NBTChunkSerializer.h @@ -22,6 +22,7 @@ class cBlockEntity; class cChestEntity; class cFurnaceEntity; class cDispenserEntity; +class cDropperEntity; class cSignEntity; class cNoteEntity; class cJukeboxEntity; @@ -80,6 +81,7 @@ protected: void AddBasicTileEntity(cBlockEntity * a_Entity, const char * a_EntityTypeID); void AddChestEntity(cChestEntity * a_Entity); void AddDispenserEntity(cDispenserEntity * a_Entity); + void AddDropperEntity(cDropperEntity * a_Entity); void AddFurnaceEntity(cFurnaceEntity * a_Furnace); void AddSignEntity(cSignEntity * a_Sign); void AddNoteEntity(cNoteEntity * a_Note); -- cgit v1.2.3