Class CompositeModel.Loader
java.lang.Object
net.neoforged.neoforge.client.model.CompositeModel.Loader
- All Implemented Interfaces:
IGeometryLoader<CompositeModel>
- Enclosing class:
CompositeModel
public static final class CompositeModel.Loader
extends Object
implements IGeometryLoader<CompositeModel>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionread
(com.google.gson.JsonObject jsonObject, com.google.gson.JsonDeserializationContext deserializationContext) private void
readChildren
(com.google.gson.JsonObject jsonObject, String name, com.google.gson.JsonDeserializationContext deserializationContext, com.google.common.collect.ImmutableMap.Builder<String, BlockModel> children, List<String> itemPasses)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Loader
private Loader()
-
-
Method Details
-
read
public CompositeModel read(com.google.gson.JsonObject jsonObject, com.google.gson.JsonDeserializationContext deserializationContext) - Specified by:
read
in interfaceIGeometryLoader<CompositeModel>
-
readChildren
private void readChildren(com.google.gson.JsonObject jsonObject, String name, com.google.gson.JsonDeserializationContext deserializationContext, com.google.common.collect.ImmutableMap.Builder<String, BlockModel> children, List<String> itemPasses)
-