Class ModelData
java.lang.Object
net.minecraftforge.client.model.data.ModelData
A container for data to be passed to
BakedModel
instances.
All objects stored in here MUST BE IMMUTABLE OR THREAD-SAFE. Properties will be accessed from another thread.
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ModelData
private final Map
<ModelProperty<?>, Object> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ModelData.Builder
builder()
derive()
<T> T
get
(ModelProperty<T> property) Set
<ModelProperty<?>> boolean
has
(ModelProperty<?> property)
-
Field Details
-
EMPTY
-
properties
-
-
Constructor Details
-
ModelData
-
-
Method Details
-
getProperties
-
has
-
get
-
derive
-
builder
-