11 enum class Settings :
int {
20 ::ll::TypedStorage<1, 1, ::SharedTypes::v1_26_20::MaterialType> mType;
21 ::ll::TypedStorage<1, 1, bool> mNeverBuildable;
22 ::ll::TypedStorage<1, 1, bool> mLiquid;
23 ::ll::TypedStorage<1, 1, bool> mBlocksMotion;
24 ::ll::TypedStorage<1, 1, bool> mBlocksPrecipitation;
25 ::ll::TypedStorage<1, 1, bool> mSolid;
26 ::ll::TypedStorage<1, 1, bool> mSuperHot;
32 MCFOLD
bool getBlocksMotion()
const;
34 MCFOLD
bool isLiquid()
const;
36 MCFOLD
bool isSolid()
const;
38 MCAPI
bool isSolidBlocking()
const;
40 MCFOLD
bool isSuperHot()
const;
42 MCAPI
bool isTopSolid(
bool includeWater,
bool includeLeaves)
const;
44 MCAPI
bool isType(::SharedTypes::v1_26_20::MaterialType type)
const;
46 MCAPI
bool operator!=(
::Material const& rhs)
const;
48 MCAPI
bool operator==(
::Material const& rhs)
const;
54 MCAPI
static void _setupMaterials();
56 MCAPI static ::Material
const& getMaterial(::SharedTypes::v1_26_20::MaterialType type);
58 MCAPI
static void initMaterials();
60 MCAPI
static void teardownMaterials();
66 MCAPI
static bool& mInitialized();
68 MCAPI static ::std::vector<::std::unique_ptr<::Material>>& mMaterials();