3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/optional_ref.h"
7#include "mc/world/item/FertilizerType.h"
8#include "mc/world/level/block/BlockType.h"
27class KelpBlock :
public ::BlockType {
44 virtual bool mayConsumeFertilizer(
::BlockSource& region)
const ;
51 virtual ::AABB getCollisionShape(
70 MCNAPI
KelpBlock(::std::string
const& nameId,
int id);
90 MCNAPI
void*
$ctor(::std::string
const& nameId,
int id);
Definition BlockActor.h:30
Definition BlockPlaceEvent.h:16
Definition BlockPlayerInteractEvent.h:18
Definition BlockQueuedTickEvent.h:16
Definition BlockSource.h:72
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:25
Definition ItemInstance.h:15
MCAPI bool $canSurvive(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI bool $canBeFertilized(::BlockSource ®ion, ::BlockPos const &pos, ::Block const &aboveBlock) const
MCAPI::AABB $getCollisionShape(::Block const &, ::IConstBlockSource const &, ::BlockPos const &, ::optional_ref<::GetCollisionShapeInterface const >) const
MCAPI bool $mayPlace(::BlockSource ®ion, ::BlockPos const &pos) const
static MCAPI bool shouldGrow(::BlockSource ®ion, ::BlockPos const &pos)
MCAPI void use(::BlockEvents::BlockPlayerInteractEvent &eventData) const
MCAPI::ItemInstance $asItemInstance(::Block const &, ::BlockActor const *) const
MCAPI::AABB const & $getOutline(::Block const &, ::IConstBlockSource const &, ::BlockPos const &pos, ::AABB &bufferValue) const
MCAPI void onPlace(::BlockEvents::BlockPlaceEvent &eventData) const
MCAPI bool $onFertilized(::BlockSource ®ion, ::BlockPos const &pos, ::Actor *actor, ::FertilizerType fType) const
MCAPI void $onGraphicsModeChanged(::BlockGraphicsModeChangeContext const &context)
MCAPI KelpBlock(::std::string const &nameId, int id)
MCAPI void $neighborChanged(::BlockSource ®ion, ::BlockPos const &pos, ::BlockPos const &neighborPos) const
MCAPI void * $ctor(::std::string const &nameId, int id)
MCAPI void _tryGrow(::BlockSource ®ion, ::BlockPos const &pos, int age) const
MCAPI bool $mayConsumeFertilizer(::BlockSource ®ion) const
static MCAPI void ** $vftable()
MCAPI void tick(::BlockEvents::BlockQueuedTickEvent &eventData) const
Definition optional_ref.h:10
Definition BlockGraphicsModeChangeContext.h:5