feat: blockstates
actually this time but might need to make a couple of fixes
This commit is contained in:
@@ -5,6 +5,8 @@ class FenceGateTile : public DirectionalTile
|
||||
{
|
||||
private:
|
||||
static const int OPEN_BIT = 4;
|
||||
static const int POWERED_BIT = 8;
|
||||
static const int IN_WALL_BIT = 16;
|
||||
Icon* icon;
|
||||
public:
|
||||
FenceGateTile(int id);
|
||||
@@ -13,6 +15,7 @@ public:
|
||||
virtual int convertBlockStateToLegacyData(BlockState *state) override;
|
||||
virtual Tile::BlockState getBlockState(LevelSource *level, int x, int y, int z) override;
|
||||
virtual Tile::BlockState getBlockState(int data);
|
||||
void fillVirtualBlockStateProperties(Tile::BlockState *state, LevelSource *level, const BlockPos &pos);
|
||||
Icon *getTexture(int face, int data);
|
||||
virtual bool mayPlace(Level *level, int x, int y, int z);
|
||||
virtual AABB *getAABB(Level *level, int x, int y, int z);
|
||||
|
||||
Reference in New Issue
Block a user