Skip to content
LeviMC
English
AutoLightDark
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 _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 _placeCoral (::BlockSource &region, ::BlockPos const &pos, ::Random &random, ::std::vector<::BlockPos > &topDec, ::std::vector<::std::pair<::BlockPos, uchar > > &sideDec, int color) 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<::BlockPos > place (::IFeature::PlacementContext const &context) const
MCAPI bool _placeBlock (::BlockSource &region, ::BlockPos const &pos, ::Block const &block) const
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 bool _canOverwrite (::BlockSource const &region, ::BlockPos const &pos, int color)
static MCAPI int _getColor (::Block const &block)
static MCAPI void ** $vftable ()
static MCAPI bool isExposedTo (::IBlockWorldGenAPI const &target, ::BlockPos const &candidatePos, ::BlockDescriptor const &exposedTo)

Public Attributes

::ll::TypedStorage< 8, 8, ::ActorUniqueID > mPlacerID
::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.

◆ _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.

◆ _placeCoral()

MCAPI void CoralFeature::_placeCoral ( ::BlockSource & region,
::BlockPos const & pos,
::Random & random,
::std::vector<::BlockPos > & topDec,
::std::vector<::std::pair<::BlockPos, uchar > > & sideDec,
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.

◆ _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.

◆ _canOverwrite()

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

◆ _getColor()

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

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.

◆ 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.

◆ $vftable()

MCAPI void ** Feature::$vftable ( )
staticinherited
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.

◆ isExposedTo()

MCAPI bool IFeature::isExposedTo ( ::IBlockWorldGenAPI const & target,
::BlockPos const & candidatePos,
::BlockDescriptor const & exposedTo )
staticinherited
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: