LeviLamina
Loading...
Searching...
No Matches
OreFeature Class Reference
Inheritance diagram for OreFeature:

Classes

struct  ReplaceRulesAccelerator
struct  SphereData
struct  Helper

Public Member Functions

virtual ::std::optional<::BlockPosplace (::IFeature::PlacementContext const &context) const
MCAPI OreFeature (int count, ::std::vector<::ReplaceRule > &&replaceRules)
MCAPI void * $ctor ()
MCAPI void * $ctor (int count, ::std::vector<::ReplaceRule > &&replaceRules)
MCAPI void $dtor ()
MCAPI ::std::optional<::BlockPos$place (::IFeature::PlacementContext const &context) const
virtual bool isValidPlacement (::std::string const &pass)
virtual void upgradeFormat (::SemVersion const &)
MCAPI bool isAllowedToPlaceFeature (::IFeature const &feature) const
MCFOLD bool isInternal () const
MCAPI bool operator== (::IFeature const &other) const
MCAPI bool setBlockSafe (::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::Block const &block, int updateFlags) const
MCAPI bool setBlockSafeSimple (::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::Block const &block) const
MCFOLD void setCanUseInternalFeature (bool canUseInternalFeature)
MCFOLD void setIsInternal (bool isInternal)
MCAPI bool $isValidPlacement (::std::string const &pass)
MCFOLD void $upgradeFormat (::SemVersion const &)

Static Public Member Functions

static MCAPI void ** $vftable ()
static MCAPI bool isExposedTo (::IBlockWorldGenAPI const &target, ::BlockPos const &candidatePos, ::BlockDescriptor const &exposedTo)

Public Attributes

::ll::TypedStorage< 4, 4, int > mCount
::ll::TypedStorage< 4, 4, float > mCountf
::ll::TypedStorage< 4, 4, float > mCountfInv
::ll::TypedStorage< 4, 4, float > mDiscardChanceOnAirExposure
::ll::TypedStorage< 8, 24, ::std::vector<::ReplaceRule > > mReplaceRules
::ll::TypedStorage< 8, 168, ::Bedrock::Threading::InstancedThreadLocal<::OreFeature::Helper, ::std::allocator<::OreFeature::Helper > > > mHelper
::ll::TypedStorage< 1, 1, bool > mInternal
::ll::TypedStorage< 1, 1, bool > mCanUseInternalFeature

Member Function Documentation

◆ place()

virtual ::std::optional<::BlockPos > OreFeature::place ( ::IFeature::PlacementContext const & context) const
virtual

Implements IFeature.

◆ $vftable()

MCAPI void ** OreFeature::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: