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

Public Member Functions

MCAPI void addAdditionalSaveData (::CompoundTag &tag) const
MCAPI void explode (::Actor &actor, ::Vec3 const &explosionPosition)
MCAPI void readAdditionalSaveData (::Actor &owner, ::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)

Public Attributes

::ll::TypedStorage< 4, 4, int > mFuseLength
::ll::TypedStorage< 4, 4, int > mInitialFuseLength
::ll::TypedStorage< 4, 4, float > mExplosionPower
::ll::TypedStorage< 4, 4, float > mMaxResistance
::ll::TypedStorage< 1, 1, bool > mIsFuseLit
::ll::TypedStorage< 1, 1, bool > mCausesFire
::ll::TypedStorage< 4, 4, float > mDamageScaling
::ll::TypedStorage< 1, 1, bool > mBreaksBlocks
::ll::TypedStorage< 1, 1, bool > mTogglesBlocks
::ll::TypedStorage< 1, 1, bool > mFireAffectedByGriefing
::ll::TypedStorage< 1, 1, bool > mDestroyAffectedByGriefing
::ll::TypedStorage< 1, 1, bool > mAllowUnderwater
::ll::TypedStorage< 1, 1, bool > mRequiresTntExplodeGameRuleEnabled
::ll::TypedStorage< 4, 4, float > mKnockbackScaling
::ll::TypedStorage< 2, 2, ::SharedTypes::Legacy::LevelEvent > mParticleType
::ll::TypedStorage< 4, 4, ::SharedTypes::Legacy::LevelSoundEvent > mSoundEffect
::ll::TypedStorage< 1, 1, bool > mNegatesFallDamage

Member Function Documentation

◆ addAdditionalSaveData()

MCAPI void ExplodeComponent::addAdditionalSaveData ( ::CompoundTag & tag) 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.

◆ readAdditionalSaveData()

MCAPI void ExplodeComponent::readAdditionalSaveData ( ::Actor & owner,
::CompoundTag const & tag,
::DataLoadHelper & dataLoadHelper )
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: