Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BuoyancyComponent Class Reference

Public Member Functions

MCAPI::Json::Value _serialize () const
MCAPI bool canFloat (::StateVectorComponent const &stateVectorComponent, ::IConstBlockSource const &region) const
MCAPI void loadData (::std::string const &data, ::SemVersion const &engineVersion)
MCAPI bool needToResurface (::StateVectorComponent const &stateVectorComponent, ::IConstBlockSource const &region) const

Public Attributes

::ll::TypedStorage< 4, 4, float > mBaseBuoyancy
::ll::TypedStorage< 4, 4, float > mDragDownOnRemoval
::ll::TypedStorage< 4, 4, float > mBigWaveProbability
::ll::TypedStorage< 4, 4, float > mBigWaveSpeedMultiplier
::ll::TypedStorage< 1, 1, ::BuoyancyMovementType > mMovementType
::ll::TypedStorage< 1, 1, bool > mApplyGravity
::ll::TypedStorage< 1, 1, bool > mCanAutoStepFromLiquid
::ll::TypedStorage< 8, 8, double > mTimer
::ll::TypedStorage< 8, 24, ::std::vector<::BlockDescriptor > > mLiquidBlocks

Member Function Documentation

◆ _serialize()

MCAPI::Json::Value BuoyancyComponent::_serialize ( ) 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.

◆ canFloat()

MCAPI bool BuoyancyComponent::canFloat ( ::StateVectorComponent const & stateVectorComponent,
::IConstBlockSource const & region ) 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.

◆ loadData()

MCAPI void BuoyancyComponent::loadData ( ::std::string const & data,
::SemVersion const & engineVersion )
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.

◆ needToResurface()

MCAPI bool BuoyancyComponent::needToResurface ( ::StateVectorComponent const & stateVectorComponent,
::IConstBlockSource const & region ) 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.

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