feat: TU19 (Dec 2014) Features & Content (#155)
* try to resolve merge conflict * feat: TU19 (Dec 2014) Features & Content (#32) * December 2014 files * Working release build * Fix compilation issues * Add sound to Windows64Media * Add DLC content and force Tutorial DLC * Revert "Add DLC content and force Tutorial DLC" This reverts commit 97a43994725008e35fceb984d5549df9c8cea470. * Disable broken light packing * Disable breakpoint during DLC texture map load Allows DLC loading but the DLC textures are still broken * Fix post build not working * ... * fix vs2022 build * fix cmake build --------- Co-authored-by: Loki <lokirautio@gmail.com>
This commit is contained in:
@@ -18,12 +18,15 @@ public:
|
||||
static TileEntity *create() { return new DispenserTileEntity(); }
|
||||
|
||||
|
||||
using TileEntity::setChanged;
|
||||
using TileEntity::setChanged;
|
||||
|
||||
private:
|
||||
ItemInstanceArray *items;
|
||||
ItemInstanceArray items;
|
||||
Random *random;
|
||||
|
||||
protected:
|
||||
wstring name;
|
||||
|
||||
public:
|
||||
DispenserTileEntity();
|
||||
virtual ~DispenserTileEntity();
|
||||
@@ -31,20 +34,24 @@ public:
|
||||
virtual unsigned int getContainerSize();
|
||||
virtual shared_ptr<ItemInstance> getItem(unsigned int slot);
|
||||
virtual shared_ptr<ItemInstance> removeItem(unsigned int slot, int count);
|
||||
shared_ptr<ItemInstance> removeItemNoUpdate(int slot);
|
||||
bool removeProjectile(int itemId);
|
||||
int getRandomSlot();
|
||||
virtual shared_ptr<ItemInstance> removeItemNoUpdate(int slot);
|
||||
virtual bool removeProjectile(int itemId);
|
||||
virtual int getRandomSlot();
|
||||
virtual void setItem(unsigned int slot, shared_ptr<ItemInstance> item);
|
||||
virtual int addItem(shared_ptr<ItemInstance> item);
|
||||
virtual int getName();
|
||||
virtual wstring getName();
|
||||
virtual wstring getCustomName();
|
||||
virtual void setCustomName(const wstring &name);
|
||||
virtual bool hasCustomName();
|
||||
virtual void load(CompoundTag *base);
|
||||
virtual void save(CompoundTag *base);
|
||||
virtual int getMaxStackSize();
|
||||
virtual bool stillValid(shared_ptr<Player> player);
|
||||
virtual void setChanged();
|
||||
|
||||
void startOpen();
|
||||
void stopOpen();
|
||||
virtual void startOpen();
|
||||
virtual void stopOpen();
|
||||
virtual bool canPlaceItem(int slot, shared_ptr<ItemInstance> item);
|
||||
|
||||
// 4J Added
|
||||
virtual shared_ptr<TileEntity> clone();
|
||||
|
||||
Reference in New Issue
Block a user