diff options
| author | daoge_cmd <3523206925@qq.com> | 2026-03-01 12:16:08 +0800 |
|---|---|---|
| committer | daoge_cmd <3523206925@qq.com> | 2026-03-01 12:16:08 +0800 |
| commit | b691c43c44ff180d10e7d4a9afc83b98551ff586 (patch) | |
| tree | 3e9849222cbc6ba49f2f1fc6e5fe7179632c7390 /Minecraft.World/LadderTile.h | |
| parent | def8cb415354ac390b7e89052a50605285f1aca9 (diff) | |
Initial commit
Diffstat (limited to 'Minecraft.World/LadderTile.h')
| -rw-r--r-- | Minecraft.World/LadderTile.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Minecraft.World/LadderTile.h b/Minecraft.World/LadderTile.h new file mode 100644 index 00000000..823f35a7 --- /dev/null +++ b/Minecraft.World/LadderTile.h @@ -0,0 +1,26 @@ +#pragma once +#include "Tile.h" +#include "Definitions.h" + +class Random; + +class LadderTile : public Tile +{ + friend class Tile; +protected: + LadderTile(int id); +public: + virtual AABB *getAABB(Level *level, int x, int y, int z); + virtual AABB *getTileAABB(Level *level, int x, int y, int z); + virtual void updateShape(LevelSource *level, int x, int y, int z, int forceData = -1, shared_ptr<TileEntity> forceEntity = shared_ptr<TileEntity>()); // 4J added forceData, forceEntity param + using Tile::setShape; + virtual void setShape(int data); + virtual bool blocksLight(); + virtual bool isSolidRender(bool isServerLevel = false); + virtual bool isCubeShaped(); + virtual int getRenderShape(); + virtual bool mayPlace(Level *level, int x, int y, int z); + virtual int getPlacedOnFaceDataValue(Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, int itemValue); + virtual void neighborChanged(Level *level, int x, int y, int z, int type); + virtual int getResourceCount(Random* random); +};
\ No newline at end of file |
