the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 26 lines 1.0 kB view raw
1#pragma once 2#include "Tile.h" 3#include "Definitions.h" 4 5class Random; 6 7class LadderTile : public Tile 8{ 9 friend class Tile; 10protected: 11 LadderTile(int id); 12public: 13 virtual AABB *getAABB(Level *level, int x, int y, int z); 14 virtual AABB *getTileAABB(Level *level, int x, int y, int z); 15 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 16 using Tile::setShape; 17 virtual void setShape(int data); 18 virtual bool blocksLight(); 19 virtual bool isSolidRender(bool isServerLevel = false); 20 virtual bool isCubeShaped(); 21 virtual int getRenderShape(); 22 virtual bool mayPlace(Level *level, int x, int y, int z); 23 virtual int getPlacedOnFaceDataValue(Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, int itemValue); 24 virtual void neighborChanged(Level *level, int x, int y, int z, int type); 25 virtual int getResourceCount(Random* random); 26};