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"
24class WallFoliageBlock :
public ::FoliageBlock {
28 ::ll::TypedStorage<4, 4, int> mMaxSizeLevel;
29 ::ll::TypedStorage<1, 1, bool> mIsBonemealable;
30 ::ll::TypedStorage<4, 4, float> mBounciness;
31 ::ll::TypedStorage<4, 4, float> mFallDamageMultiplier;
47 virtual ::Block
const&
48 getPlacementBlock(
::Actor const& by,
::BlockPos const& pos, uchar face,
::Vec3 const& clickPos,
int itemValue)
const
60 virtual bool isLavaBlocking()
const ;
62 virtual ::AABB getCollisionShape(
74 ::std::string
const& nameId,
80 float fallDamageMultiplier
90 ::std::string
const& nameId,
96 float fallDamageMultiplier
Definition BlockEntityFallOnEvent.h:17
Definition BlockSource.h:72
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:25
MCAPI float $getBounciness(::IConstBlockSource const &, ::BlockPos const &) const
MCAPI bool $onFertilized(::BlockSource ®ion, ::BlockPos const &pos, ::Actor *actor, ::FertilizerType fType) const
MCAPI bool $canSurvive(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI bool $mayPlace(::BlockSource ®ion, ::BlockPos const &pos, uchar face) const
MCAPI void * $ctor(::std::string const &nameId, int id, ::Material const &material, int sizeCount, bool isBonemealable, float bounciness, float fallDamageMultiplier)
MCAPI bool $isLavaBlocking() const
MCAPI::AABB $getCollisionShape(::Block const &block, ::IConstBlockSource const ®ion, ::BlockPos const &pos, ::optional_ref<::GetCollisionShapeInterface const > entity) const
MCAPI bool $canBeFertilized(::BlockSource ®ion, ::BlockPos const &pos, ::Block const &aboveBlock) const
MCAPI bool $mayPlace(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI::Block const & $getPlacementBlock(::Actor const &by, ::BlockPos const &pos, uchar face, ::Vec3 const &clickPos, int itemValue) const
MCAPI void onFallOn(::BlockEvents::BlockEntityFallOnEvent &eventData) const
MCAPI WallFoliageBlock(::std::string const &nameId, int id, ::Material const &material, int sizeCount, bool isBonemealable, float bounciness, float fallDamageMultiplier)
static MCAPI void ** $vftable()
Definition optional_ref.h:10