28class StairBlock :
public ::BlockType {
32 ::ll::TypedStorage<8, 8, ::BlockType const&> mBase;
33 ::ll::TypedStorage<1, 1, bool const> mLeakyCornersFix;
34 ::ll::TypedStorage<1, 1, bool const> mStairConnectionsCauseNeighborUpdates;
39 StairBlock& operator=(StairBlock
const&);
40 StairBlock(StairBlock
const&);
46 virtual ::HitResult clip(
52 ::ShapeType shapeType,
60 virtual void addAABBs(
64 ::AABB const* intersectTestBox,
65 ::std::vector<::AABB>& inoutBoxes
68 virtual bool addCollisionShapes(
72 ::AABB const* intersectTestBox,
73 ::std::vector<::AABB>& inoutBoxes,
91 virtual bool mayPick()
const ;
103 virtual ::Block
const&
104 getPlacementBlock(
::Actor const& by,
::BlockPos const& pos, uchar face,
::Vec3 const& clickPos,
int itemValue)
const
107 virtual int getVariant(
::Block const& block)
const ;
109 virtual bool liquidCanFlowIntoFromDirection(
110 uchar flowIntoFacing,
117 virtual void _addHardCodedBlockComponents(
::Experiments const&) ;
124 ::std::string
const& nameId,
126 ::BlockType
const& base,
127 bool leakyCornersFix,
128 bool stairConnectionsCauseNeighborUpdates
131 MCAPI
bool _neighboringBlockCheckForCreatingBarrierInDirection(
138 MCAPI
void setBaseShape(
::Block const& block,
::AABB& shape,
bool shrink)
const;
141 MCAPI
bool setInnerPieceShape(
156 MCAPI static ::std::add_lvalue_reference_t<int const[8][2]> DEAD_SPACES();
163 ::std::string
const& nameId,
165 ::BlockType
const& base,
166 bool leakyCornersFix,
167 bool stairConnectionsCauseNeighborUpdates
174 MCAPI ::HitResult $clip(
180 ::ShapeType shapeType,
187 MCAPI
void $addAABBs(
191 ::AABB const* intersectTestBox,
192 ::std::vector<::AABB>& inoutBoxes
195 MCFOLD
bool $addCollisionShapes(
199 ::AABB const* intersectTestBox,
200 ::std::vector<::AABB>& inoutBoxes,
216 MCAPI
bool $mayPick()
const;
228 MCAPI ::Block
const& $getPlacementBlock(
236 MCFOLD
int $getVariant(
::Block const& block)
const;
238 MCAPI
bool $liquidCanFlowIntoFromDirection(
239 uchar flowIntoFacing,
246 MCAPI
void $_addHardCodedBlockComponents(
::Experiments const&);
254 MCAPI
static void** $vftable();
Definition EntityContext.h:15