18class FaceDirectionalBlock :
public ::BlockType {
22 ::ll::TypedStorage<1, 1, bool> mHorizontalOnly;
23 ::ll::TypedStorage<4, 4, float> mYRotOffset;
28 FaceDirectionalBlock();
33 virtual ::Block
const& getRenderBlock()
const ;
35 virtual uchar getMappedFace(uchar face,
::Block const& block)
const ;
37 virtual ::Flip getFaceFlip(uchar face,
::Block const& block)
const ;
39 virtual ::Block
const&
40 getPlacementBlock(
::Actor const& by,
::BlockPos const& pos, uchar face,
::Vec3 const& clickPos,
int itemValue)
const
43 virtual bool isValidAuxValue(
int auxValue)
const ;
49 MCAPI FaceDirectionalBlock(
50 ::std::string
const& nameId,
61 MCAPI
static uchar getFacingDirection(
::Block const& block,
bool horizontalOnly);
63 MCAPI
static uchar getMappedFaceStatic(uchar face,
::Block const& block,
bool horizontalOnly);
70 $ctor(::std::string
const& nameId,
int id,
::Material const& material,
bool horizontalOnly,
float yRotOffset);
76 MCFOLD ::Block
const& $getRenderBlock()
const;
78 MCFOLD uchar $getMappedFace(uchar face,
::Block const& block)
const;
80 MCFOLD ::Flip $getFaceFlip(uchar face,
::Block const& block)
const;
82 MCFOLD ::Block
const& $getPlacementBlock(
90 MCAPI
bool $isValidAuxValue(
int auxValue)
const;