Class ModelDataMap.Builder
- java.lang.Object
-
- net.minecraftforge.client.model.data.ModelDataMap.Builder
-
- Enclosing class:
- ModelDataMap
public static class ModelDataMap.Builder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<ModelProperty<?>,java.lang.Object>
defaults
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelDataMap
build()
<T> ModelDataMap.Builder
withInitial(ModelProperty<T> prop, T data)
ModelDataMap.Builder
withProperty(ModelProperty<?> prop)
-
-
-
Field Detail
-
defaults
private final java.util.Map<ModelProperty<?>,java.lang.Object> defaults
-
-
Method Detail
-
withProperty
public ModelDataMap.Builder withProperty(ModelProperty<?> prop)
-
withInitial
public <T> ModelDataMap.Builder withInitial(ModelProperty<T> prop, T data)
-
build
public ModelDataMap build()
-
-