3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/item/FertilizerType.h"
7#include "mc/world/level/block/BlockType.h"
23class BambooStalkBlock :
public ::BlockType {
31 virtual ::Block
const&
32 getPlacementBlock(
::Actor const& by,
::BlockPos const& pos, uchar face,
::Vec3 const& clickPos,
int itemValue)
const
44 virtual bool mayConsumeFertilizer(
::BlockSource& region)
const ;
49 virtual bool isValidAuxValue(
int auxValue)
const ;
51 virtual ::AABB
const& getVisualShape(
::Block const& block,
::AABB&)
const ;
53 virtual bool isLavaBlocking()
const ;
79 MCNAPI
void*
$ctor(::std::string
const& nameId,
int id);
MCAPI void randomTick(::BlockEvents::BlockRandomTickEvent &eventData) const
MCAPI bool $mayPlace(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI bool $isLavaBlocking() const
MCAPI void _placeBamboo(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI void tick(::BlockEvents::BlockQueuedTickEvent &eventData) const
MCAPI bool $onFertilized(::BlockSource ®ion, ::BlockPos const &pos, ::Actor *actor, ::FertilizerType fType) const
MCAPI bool $mayConsumeFertilizer(::BlockSource ®ion) const
MCAPI bool $isValidAuxValue(int auxValue) const
MCAPI void * $ctor(::std::string const &nameId, int id)
MCAPI::Block const & _determineNewBlockState(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI bool $canSurvive(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI void onPlace(::BlockEvents::BlockPlaceEvent &eventData) const
static MCAPI void ** $vftable()
MCAPI void $neighborChanged(::BlockSource ®ion, ::BlockPos const &pos, ::BlockPos const &neighborPos) const
MCAPI BambooStalkBlock(::std::string const &nameId, int id)
MCAPI::AABB const & $getVisualShape(::Block const &block, ::AABB &) const
MCAPI::Block const & $getPlacementBlock(::Actor const &by, ::BlockPos const &pos, uchar face, ::Vec3 const &clickPos, int itemValue) const
MCAPI bool $canBeFertilized(::BlockSource ®ion, ::BlockPos const &pos, ::Block const &aboveBlock) const
MCAPI void $onGraphicsModeChanged(::BlockGraphicsModeChangeContext const &context)
Definition BlockPlaceEvent.h:16
Definition BlockQueuedTickEvent.h:16
Definition BlockRandomTickEvent.h:16
Definition BlockSource.h:72
Definition BlockGraphicsModeChangeContext.h:5