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

Public Types

enum class  Settings : int { Solid = 0 , Liquid = 1 , NonSolid = 2 }

Public Member Functions

MCFOLD bool getBlocksMotion () const
MCFOLD bool isLiquid () const
MCFOLD bool isSolid () const
MCAPI bool isSolidBlocking () const
MCFOLD bool isSuperHot () const
MCAPI bool isTopSolid (bool includeWater, bool includeLeaves) const
MCAPI bool isType (::SharedTypes::v1_26_20::MaterialType type) const
MCAPI bool operator!= (::Material const &rhs) const
MCAPI bool operator== (::Material const &rhs) const

Static Public Member Functions

static MCAPI void _setupMaterials ()
static MCAPI ::Material const & getMaterial (::SharedTypes::v1_26_20::MaterialType type)
static MCAPI void initMaterials ()
static MCAPI void teardownMaterials ()
static MCAPI bool & mInitialized ()
static MCAPI ::std::vector<::std::unique_ptr<::Material > > & mMaterials ()

Public Attributes

::ll::TypedStorage< 1, 1, ::SharedTypes::v1_26_20::MaterialType > mType
::ll::TypedStorage< 1, 1, bool > mNeverBuildable
::ll::TypedStorage< 1, 1, bool > mLiquid
::ll::TypedStorage< 1, 1, bool > mBlocksMotion
::ll::TypedStorage< 1, 1, bool > mBlocksPrecipitation
::ll::TypedStorage< 1, 1, bool > mSolid
::ll::TypedStorage< 1, 1, bool > mSuperHot

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