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

Public Member Functions

virtual bool place (::BlockSource &region, ::BlockPos const &pos, ::Random &random) const
 
MCAPI void _buildHand (::BlockSource &region, ::BlockPos const &pos, ::Random &random, ::std::vector<::BlockPos > &topDec, ::std::vector<::std::pair<::BlockPos, uchar > > &sideDec, ::gsl::not_null<::Block const * > block) const
 
MCAPI void _buildPlantArm (::BlockSource &region, ::Random &random, ::BlockPos const &pos, ::gsl::not_null<::Block const * > block, ::std::vector<::BlockPos > &topDec, ::std::vector<::std::pair<::BlockPos, uchar > > &sideDec, uchar direction, bool notTall) const
 
MCAPI void _buildPlantLike (::BlockSource &region, ::BlockPos const &pos, ::Random &random, ::std::vector<::BlockPos > &topDec, ::std::vector<::std::pair<::BlockPos, uchar > > &sideDec, ::gsl::not_null<::Block const * > block) const
 
MCAPI void _buildSmallClump (::BlockSource &region, ::BlockPos const &pos, ::Random &random, ::std::vector<::BlockPos > &topDec, ::std::vector<::std::pair<::BlockPos, uchar > > &, ::gsl::not_null<::Block const * > block) const
 
MCAPI void _buildSpire (::BlockSource &region, ::BlockPos const &pos, ::Random &random, ::std::vector<::BlockPos > &topDec, ::std::vector<::std::pair<::BlockPos, uchar > > &sideDec, ::gsl::not_null<::Block const * > block) const
 
MCAPI bool _canOverwrite (::BlockSource const &region, ::BlockPos const &pos, int color) const
 
MCAPI int _getColor (::Block const &block) const
 
MCAPI void _placeSideDecorations (::BlockSource &region, ::BlockPos const &pos, ::Random &random, uchar dir) const
 
MCAPI void _placeTopDecorations (::BlockSource &region, ::BlockPos const &pos, ::Random &random) const
 
MCAPI bool _setBlock (::BlockSource &region, ::BlockPos const &pos, ::gsl::not_null<::Block const * > block, int color) const
 
MCAPI bool _setBlockOnSolid (::BlockSource &region, ::BlockPos const &pos, ::gsl::not_null<::Block const * > block, int color) const
 
MCAPI void _starCorners (::BlockSource &region, ::Random &random, ::BlockPos const &pos, ::gsl::not_null<::Block const * > block, float chance, int iteration, bool negateChance) const
 
MCAPI void _starFormation (::BlockSource &region, ::Random &random, ::BlockPos const &pos, ::gsl::not_null<::Block const * > block, float chance, int iteration, bool negateChance) const
 
MCAPI bool $place (::BlockSource &region, ::BlockPos const &pos, ::Random &random) const
 
virtual ::std::optional<::BlockPosplace (::IFeature::PlacementContext const &context) const
 
MCAPI bool _placeBlock (::BlockSource &region, ::BlockPos const &pos, ::Block const &block) const
 
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 $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)
 
static MCAPI ::std::string_view const & DEFAULT_NOT_SUPPORTED_PASS ()
 

Public Attributes

::ll::TypedStorage< 8, 8, ::ActorUniqueIDmPlacerID
 
::ll::TypedStorage< 8, 8, ::WorldChangeTransaction * > mTransaction
 
::ll::TypedStorage< 1, 1, bool > mInternal
 
::ll::TypedStorage< 1, 1, bool > mCanUseInternalFeature
 

Member Function Documentation

◆ place() [1/2]

virtual bool CoralFeature::place ( ::BlockSource & region,
::BlockPos const & pos,
::Random & random ) const
virtual

Implements Feature.

◆ _buildHand()

MCAPI void CoralFeature::_buildHand ( ::BlockSource & region,
::BlockPos const & pos,
::Random & random,
::std::vector<::BlockPos > & topDec,
::std::vector<::std::pair<::BlockPos, uchar > > & sideDec,
::gsl::not_null<::Block const * > block ) const
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.

◆ _buildPlantArm()

MCAPI void CoralFeature::_buildPlantArm ( ::BlockSource & region,
::Random & random,
::BlockPos const & pos,
::gsl::not_null<::Block const * > block,
::std::vector<::BlockPos > & topDec,
::std::vector<::std::pair<::BlockPos, uchar > > & sideDec,
uchar direction,
bool notTall ) const
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.

◆ _buildPlantLike()

MCAPI void CoralFeature::_buildPlantLike ( ::BlockSource & region,
::BlockPos const & pos,
::Random & random,
::std::vector<::BlockPos > & topDec,
::std::vector<::std::pair<::BlockPos, uchar > > & sideDec,
::gsl::not_null<::Block const * > block ) const
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.

◆ _buildSmallClump()

MCAPI void CoralFeature::_buildSmallClump ( ::BlockSource & region,
::BlockPos const & pos,
::Random & random,
::std::vector<::BlockPos > & topDec,
::std::vector<::std::pair<::BlockPos, uchar > > & ,
::gsl::not_null<::Block const * > block ) const
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.

◆ _buildSpire()

MCAPI void CoralFeature::_buildSpire ( ::BlockSource & region,
::BlockPos const & pos,
::Random & random,
::std::vector<::BlockPos > & topDec,
::std::vector<::std::pair<::BlockPos, uchar > > & sideDec,
::gsl::not_null<::Block const * > block ) const
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.

◆ _canOverwrite()

MCAPI bool CoralFeature::_canOverwrite ( ::BlockSource const & region,
::BlockPos const & pos,
int color ) const
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.

◆ _getColor()

MCAPI int CoralFeature::_getColor ( ::Block const & block) const
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.

◆ _placeSideDecorations()

MCAPI void CoralFeature::_placeSideDecorations ( ::BlockSource & region,
::BlockPos const & pos,
::Random & random,
uchar dir ) const
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.

◆ _placeTopDecorations()

MCAPI void CoralFeature::_placeTopDecorations ( ::BlockSource & region,
::BlockPos const & pos,
::Random & random ) const
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.

◆ _setBlock()

MCAPI bool CoralFeature::_setBlock ( ::BlockSource & region,
::BlockPos const & pos,
::gsl::not_null<::Block const * > block,
int color ) const
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.

◆ _setBlockOnSolid()

MCAPI bool CoralFeature::_setBlockOnSolid ( ::BlockSource & region,
::BlockPos const & pos,
::gsl::not_null<::Block const * > block,
int color ) const
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.

◆ _starCorners()

MCAPI void CoralFeature::_starCorners ( ::BlockSource & region,
::Random & random,
::BlockPos const & pos,
::gsl::not_null<::Block const * > block,
float chance,
int iteration,
bool negateChance ) const
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.

◆ _starFormation()

MCAPI void CoralFeature::_starFormation ( ::BlockSource & region,
::Random & random,
::BlockPos const & pos,
::gsl::not_null<::Block const * > block,
float chance,
int iteration,
bool negateChance ) const
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.

◆ $place() [1/2]

MCAPI bool CoralFeature::$place ( ::BlockSource & region,
::BlockPos const & pos,
::Random & random ) const
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.

◆ $vftable()

static MCAPI void ** CoralFeature::$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.

◆ place() [2/2]

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

Implements IFeature.

◆ _placeBlock()

MCAPI bool Feature::_placeBlock ( ::BlockSource & region,
::BlockPos const & pos,
::Block const & block ) const
inherited
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.

◆ $dtor()

MCAPI void Feature::$dtor ( )
inherited
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.

◆ $place() [2/2]

MCAPI ::std::optional<::BlockPos > Feature::$place ( ::IFeature::PlacementContext const & context) const
inherited
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: