3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/deps/core/utility/optional_ref.h"
8#include "mc/world/level/block/BlockType.h"
23class CoralPlantBlock :
public ::BlockType {
27 ::ll::TypedStorage<8, 48, ::HashedString const> mDeadVersion;
37 virtual ::AABB getCollisionShape(
46 virtual bool mayConsumeFertilizer(
::BlockSource& region)
const ;
51 virtual bool isLavaBlocking()
const ;
Definition BlockPlaceEvent.h:16
Definition BlockQueuedTickEvent.h:16
Definition BlockSource.h:72
MCAPI void tick(::BlockEvents::BlockQueuedTickEvent &eventData) const
MCAPI bool $canSurvive(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI bool $isLavaBlocking() const
MCAPI bool $mayConsumeFertilizer(::BlockSource ®ion) const
MCAPI bool $checkIsPathable(::Actor &entity, ::BlockPos const &lastPathPos, ::BlockPos const &pathPos) const
MCAPI CoralPlantBlock(::std::string const &nameId, int id, ::HashedString const &deadVersion)
MCAPI void $neighborChanged(::BlockSource ®ion, ::BlockPos const &pos, ::BlockPos const &neighborPos) const
MCAPI::AABB $getCollisionShape(::Block const &, ::IConstBlockSource const &, ::BlockPos const &, ::optional_ref<::GetCollisionShapeInterface const >) const
MCAPI void onPlace(::BlockEvents::BlockPlaceEvent &eventData) const
MCAPI bool $mayPlaceOn(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI void * $ctor(::std::string const &nameId, int id, ::HashedString const &deadVersion)
Definition GetCollisionShapeInterface.h:13
Definition HashedString.h:5
Definition IConstBlockSource.h:25
Definition optional_ref.h:10