LeviLamina
Loading...
Searching...
No Matches
Material.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/material/MaterialType.h"
7
8class Material {
9public:
10 // Material inner types define
11 enum class Settings : int {
12 Solid = 0,
13 Liquid = 1,
14 NonSolid = 2,
15 };
16
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, ::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;
27 // NOLINTEND
28
29public:
30 // static functions
31 // NOLINTBEGIN
32 MCAPI static void _setupMaterials();
33
34 MCAPI static ::Material const& getMaterial(::MaterialType type);
35 // NOLINTEND
36
37public:
38 // static variables
39 // NOLINTBEGIN
40 MCAPI static ::std::vector<::std::unique_ptr<::Material>>& mMaterials();
41 // NOLINTEND
42};
Definition Material.h:8