- 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
26 lines
583 B
C++
26 lines
583 B
C++
#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();
|
|
};
|