Class MultipartModelData
java.lang.Object
net.minecraftforge.client.model.data.MultipartModelData
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<BakedModel,
ModelData> static final ModelProperty<MultipartModelData>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MultipartModelData.Builder
builder()
@Nullable ModelData
get
(BakedModel model) static ModelData
resolve
(ModelData modelData, BakedModel model) Helper to get the data from aModelData
instance.
-
Field Details
-
PROPERTY
-
partData
-
-
Constructor Details
-
MultipartModelData
-
-
Method Details
-
get
-
resolve
Helper to get the data from aModelData
instance.- Parameters:
modelData
- The object to get data frommodel
- The model to get data for- Returns:
- The data for the part, or the one passed in if not found
-
builder
-