public final class FusionModelTypeRegistry
extends java.lang.Object
| Constructor and Description |
|---|
FusionModelTypeRegistry() |
| Modifier and Type | Method and Description |
|---|---|
static void |
registerModelType(net.minecraft.util.ResourceLocation identifier,
ModelType<?> modelType)
Registers the given model type.
|
static com.google.gson.JsonObject |
serializeModelData(ModelInstance<?> model)
Serializes the given model.
|
public static void registerModelType(net.minecraft.util.ResourceLocation identifier,
ModelType<?> modelType)
identifier - identifier for the model typemodelType - handler for the custom modelpublic static com.google.gson.JsonObject serializeModelData(ModelInstance<?> model)
model - model to be serialized