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"
24class FlowerBedBlock :
public ::BlockType {
28 ::ll::TypedStorage<1, 1, bool const> mHasStems;
38 virtual int getVariant(
::Block const& block)
const ;
44 virtual bool canBeBuiltOver(
48 ::BlockType
const& newBlock
56 virtual ::Block
const& getPlacementBlock(
64 virtual ::AABB getCollisionShape(
82 MCAPI FlowerBedBlock(::std::string
const& nameId,
int id,
bool hasStems, ::std::optional<int> visualHeightTx);
98 MCAPI
void* $ctor(::std::string
const& nameId,
int id,
bool hasStems, ::std::optional<int> visualHeightTx);
114 ::BlockType
const& newBlock
Definition BlockPlayerInteractEvent.h:18
Definition BlockQueuedTickEvent.h:16
Definition BlockSource.h:72
MCAPI int $getVariant(::Block const &block) const
MCAPI void use(::BlockEvents::BlockPlayerInteractEvent &eventData) const
MCAPI bool $onFertilized(::BlockSource ®ion, ::BlockPos const &pos, ::Actor *actor, ::FertilizerType fType) const
static MCAPI bool tryGrow(::BlockSource ®ion, ::BlockPos const pos)
MCAPI::Block const & $getPlacementBlock(::Actor const &by, ::BlockPos const &pos, uchar facing, ::Vec3 const &clickPos, int itemValue) const
MCAPI bool $canBeFertilized(::BlockSource ®ion, ::BlockPos const &pos, ::Block const &aboveBlock) const
static MCAPI void ** $vftable()
MCAPI bool $canBeBuiltOver(::Block const &block, ::BlockSource const ®ion, ::BlockPos const &pos, ::BlockType const &newBlock) const
MCAPI void $neighborChanged(::BlockSource ®ion, ::BlockPos const &pos, ::BlockPos const &neighborPos) const
MCAPI void tick(::BlockEvents::BlockQueuedTickEvent &eventData) const
MCAPI bool $mayPlace(::BlockSource ®ion, ::BlockPos const &pos, uchar face) const
MCAPI bool $mayPlaceOn(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI bool $canSurvive(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI::AABB $getCollisionShape(::Block const &, ::IConstBlockSource const &, ::BlockPos const &, ::optional_ref<::GetCollisionShapeInterface const >) const
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:25
Definition optional_ref.h:10