27class LeavesBlock :
public ::BlockType {
51 ::std::variant<::ParticleType, ::mce::Color, ::LeavesBlock::ParticleParams::BiomeTintedColor>>
53 ::ll::TypedStorage<4, 4, int> mOneOutOfChance;
60 ::ll::TypedStorage<1, 1, bool> mHasTransparentLeaves;
61 ::ll::TypedStorage<8, 8, ::HashedString const&> mSapling;
62 ::ll::TypedStorage<4, 28, ::std::optional<::LeavesBlock::ParticleParams>> mParticleParams;
67 LeavesBlock& operator=(LeavesBlock
const&);
68 LeavesBlock(LeavesBlock
const&);
76 virtual int getVariant(
::Block const& block)
const ;
83 virtual ::HashedString
const& getCullingLayer() const ;
89 virtual ::
Block const&
90 getPlacementBlock(::
Actor const& by, ::
BlockPos const& pos, uchar face, ::
Vec3 const& clickPos,
int itemValue) const
95 virtual
bool canProvideSupport(::
Block const&, uchar, ::BlockSupportType) const ;
97 virtual
bool canProvideMultifaceSupport(::
Block const& block, uchar face) const ;
104 ::
std::
string const& nameId,
117 MCAPI
static bool _isDeepLeavesInducing(
::Block const& block, ::BlockProperty
const& propertyCheck);
124 MCAPI static ::LeavesBlock::ParticleParams
const& BIOME_TINTED_LEAVES_PARTICLE_PARAMS();
131 ::std::string
const& nameId,
134 ::std::optional<::LeavesBlock::ParticleParams> particleParams
143 MCAPI
int $getVariant(
::Block const& block)
const;
149 MCAPI ::HashedString
const& $getCullingLayer()
const;
155 MCAPI ::Block
const& $getPlacementBlock(
165 MCFOLD
bool $canProvideSupport(
::Block const&, uchar, ::BlockSupportType)
const;
167 MCFOLD
bool $canProvideMultifaceSupport(
::Block const& block, uchar face)
const;
175 MCAPI
static void** $vftable();
Definition BlockGraphicsModeChangeContext.h:5
Definition LeavesBlock.h:43
Definition LeavesBlock.h:35