TU43 Structures, bug fixes & minor changes
- Elytra flight, damage, kinetic energy, pretty much any bug someone reported, paper doll, etc. - Fossil & Igloo generation - Texture interpolation - Iggy mouse fix for world settings - Neo branding on main screen - Release build txt logger - Debug mode spectator - Several server fixes - Flowerpot fixes - Several more changes made in TU43
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
#include "TileEntity.h"
|
||||
|
||||
class FlowerPotTileEntity : public TileEntity
|
||||
{
|
||||
public:
|
||||
eINSTANCEOF GetType() { return eTYPE_FLOWERPOTTILEENTITY; }
|
||||
static TileEntity *create() { return new FlowerPotTileEntity(); }
|
||||
|
||||
private:
|
||||
int flowerItemId;
|
||||
int flowerAuxValue;
|
||||
|
||||
public:
|
||||
FlowerPotTileEntity();
|
||||
void setFlowerItem(int itemId, int auxValue);
|
||||
int getFlowerItemId() const;
|
||||
int getFlowerAuxValue() const;
|
||||
bool hasFlower() const;
|
||||
|
||||
void save(CompoundTag *tag);
|
||||
void load(CompoundTag *tag);
|
||||
shared_ptr<Packet> getUpdatePacket();
|
||||
virtual shared_ptr<TileEntity> clone();
|
||||
};
|
||||
Reference in New Issue
Block a user