Files
LegacyRenouveau/Minecraft.World/FlowerPotTileEntity.h
T
Tranqlmao a4c746bee4 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
2026-07-11 19:30:16 -04:00

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();
};