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/FoliageBlock.h"
9#include "mc/world/phys/AABB.h"
23class DoublePlantBaseBlock :
public ::FoliageBlock {
27 ::ll::TypedStorage<4, 24, ::AABB> mBottomVisualShape;
32 DoublePlantBaseBlock();
37 virtual ::Block
const* getNextBlockPermutation(
::Block const& currentBlock)
const ;
47 virtual ::AABB getCollisionShape(
54 virtual ::AABB
const& getVisualShape(
::Block const& block,
::AABB& bufferAABB)
const ;
69 virtual ::Block
const& _keepRelevantStateForDropping(
::Block const& block)
const;
83 MCNAPI
void*
$ctor(::std::string
const& nameId,
int id);
Definition BlockPlaceEvent.h:16
Definition BlockSource.h:72
MCAPI bool $canBeFertilized(::BlockSource ®ion, ::BlockPos const &pos, ::Block const &aboveBlock) const
MCAPI void onPlace(::BlockEvents::BlockPlaceEvent &eventData) const
MCAPI DoublePlantBaseBlock(::std::string const &nameId, int id)
MCAPI bool $getSecondPart(::IConstBlockSource const ®ion, ::BlockPos const &pos, ::BlockPos &out) const
static MCAPI void ** $vftable()
MCAPI bool $mayPlace(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI::Block const & $_keepRelevantStateForDropping(::Block const &block) const
MCAPI bool $mayPlace(::BlockSource ®ion, ::BlockPos const &pos, uchar face) const
MCAPI void * $ctor(::std::string const &nameId, int id)
MCAPI::Block const * $playerWillDestroy(::Player &player, ::BlockPos const &pos, ::Block const &block) const
MCAPI void $checkAlive(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI bool $onFertilized(::BlockSource ®ion, ::BlockPos const &pos, ::Actor *actor, ::FertilizerType fType) const
MCAPI::AABB $getCollisionShape(::Block const &, ::IConstBlockSource const &, ::BlockPos const &, ::optional_ref<::GetCollisionShapeInterface const >) const
MCAPI::AABB const & $getVisualShape(::Block const &block, ::AABB &bufferAABB) const
MCAPI::Block const * $getNextBlockPermutation(::Block const ¤tBlock) const
MCAPI bool $canSurvive(::BlockSource ®ion, ::BlockPos const &pos) const
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:25
Definition optional_ref.h:10