Package dev.jaxydog.astral.mixin
Class ModelMixin
java.lang.Object
dev.jaxydog.astral.mixin.ModelMixin
- All Implemented Interfaces:
AstralModel
Implements the
AstralModel interface.- Since:
- 1.7.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidastral$addCustomJson(String key, com.google.gson.JsonElement element) Adds a custom JSON entry to this model.voidastral$addCustomJson(Map<String, com.google.gson.JsonElement> map) Adds a custom JSON entry to this model.net.minecraft.data.client.ModelCopies the model.
-
Constructor Details
-
ModelMixin
public ModelMixin()
-
-
Method Details
-
astral$addCustomJson
Description copied from interface:AstralModelAdds a custom JSON entry to this model.- Specified by:
astral$addCustomJsonin interfaceAstralModel- Parameters:
key- The JSON key.element- The JSON value.
-
astral$addCustomJson
Description copied from interface:AstralModelAdds a custom JSON entry to this model.- Specified by:
astral$addCustomJsonin interfaceAstralModel- Parameters:
map- The JSON elements.
-
astral$copy
public net.minecraft.data.client.Model astral$copy()Description copied from interface:AstralModelCopies the model.- Specified by:
astral$copyin interfaceAstralModel- Returns:
- A copy of this model.
-