24class LightningRodBlock :
public ::BlockType {
28 ::ll::TypedStorage<1, 1, bool> mFlashOnPowered;
38 virtual bool isSignalSource()
const ;
44 virtual ::Block
const&
45 getPlacementBlock(
::Actor const& by,
::BlockPos const& pos, uchar face,
::Vec3 const& clickPos,
int itemValue)
const
53 virtual ::AABB
const& getVisualShape(
::Block const& block,
::AABB& bufferAABB)
const ;
59 virtual bool canProvideSupport(
::Block const& block, uchar face, ::BlockSupportType type)
const ;
61 virtual int getVariant(
::Block const& block)
const ;
67 MCAPI LightningRodBlock(::std::string
const& nameId,
int id,
bool flashOnPowered);
77 MCAPI
void* $ctor(::std::string
const& nameId,
int id,
bool flashOnPowered);
83 MCFOLD
bool $isSignalSource()
const;
89 MCFOLD ::Block
const& $getPlacementBlock(
101 MCAPI ::AABB
const& $getVisualShape(
::Block const& block,
::AABB& bufferAABB)
const;
107 MCAPI
bool $canProvideSupport(
::Block const& block, uchar face, ::BlockSupportType type)
const;
109 MCAPI
int $getVariant(
::Block const& block)
const;
117 MCAPI
static void** $vftable();