LeviLamina
Loading...
Searching...
No Matches
BreathableComponent Class Reference

Public Types

enum class  BreathableState : int {
  InAir = 0 , InWater = 1 , InLava = 2 , InSolids = 3 ,
  InBreathableOverrideBlock = 4 , InNonBreathableOverrideBlock = 5
}

Public Member Functions

BreathableComponentoperator= (BreathableComponent const &)
 BreathableComponent (BreathableComponent const &)
MCAPI void addAdditionalSaveData (::CompoundTag &tag) const
MCAPI bool canBreathe (::Actor const &owner) const
MCFOLD bool canBreatheWater () const
MCFOLD bool generatesBubbles () const
MCFOLD int getAirRegenPerTick () const
MCAPI short getAirSupply () const
MCFOLD::BreathableComponent::BreathableState const & getBreathableState () const
MCFOLD float getInhaleTime () const
MCAPI short getMaxAirSupply () const
MCFOLD int getSuffocateTime () const
MCAPI::BreathableComponent & operator= (::BreathableComponent &&)
MCAPI void readAdditionalSaveData (::Actor &, ::CompoundTag const &tag, ::DataLoadHelper &)
MCAPI void setAirSupply (short supply)
MCAPI void updateBreathableState (::Actor &owner)
MCAPI void * $ctor ()
MCFOLD void $dtor ()

Public Attributes

::ll::TypedStorage< 4, 4, int > mSuffocateTime
::ll::TypedStorage< 4, 4, float > mInhaleTime
::ll::TypedStorage< 4, 4, int > mAirRegenPerTick
::ll::TypedStorage< 1, 1, bool > mBreathesAir
::ll::TypedStorage< 1, 1, bool > mBreathesWater
::ll::TypedStorage< 1, 1, bool > mBreathesLava
::ll::TypedStorage< 1, 1, bool > mBreathesSolids
::ll::TypedStorage< 1, 1, bool > mGeneratesBubbles
::ll::TypedStorage< 2, 2, short > mAirSupply
::ll::TypedStorage< 2, 2, short > mAirSupplyMax
::ll::TypedStorage< 8, 24, ::std::vector<::BlockDescriptor > > mBreathableBlocks
::ll::TypedStorage< 8, 24, ::std::vector<::BlockDescriptor > > mNonBreathableBlocks
::ll::TypedStorage< 4, 4, ::BreathableComponent::BreathableState > mBreathableState

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