Package net.mcreator.workspace.resources
Class TexturedModel
java.lang.Object
net.mcreator.workspace.resources.Model
net.mcreator.workspace.resources.TexturedModel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.mcreator.workspace.resources.Model
Model.BuiltInModel, Model.Type
-
Field Summary
Fields inherited from class net.mcreator.workspace.resources.Model
file, readableName, type
-
Constructor Summary
ModifierConstructorDescriptionprotected
TexturedModel
(File file, String textureMappingName) protected
TexturedModel
(File file, TexturedModel.TextureMapping textureMapping) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static String
getJSONForTextureMapping
(Map<String, TexturedModel.TextureMapping> textureMappingMap) static Map
<String, TexturedModel.TextureMapping> getTextureMappingsForModel
(Model model) int
hashCode()
toString()
Methods inherited from class net.mcreator.workspace.resources.Model
getFile, getFiles, getJavaModels, getJavaModels, getModelByParams, getModels, getModelsWithTextureMaps, getType
-
Constructor Details
-
TexturedModel
protected TexturedModel(File file, TexturedModel.TextureMapping textureMapping) throws ModelException - Throws:
ModelException
-
TexturedModel
- Throws:
ModelException
-
-
Method Details
-
getTextureMapping
-
getModelTextureMapVariations
-
getTextureMappingsForModel
-
getJSONForTextureMapping
public static String getJSONForTextureMapping(Map<String, TexturedModel.TextureMapping> textureMappingMap) -
toString
-
getReadableName
- Overrides:
getReadableName
in classModel
-
equals
-
hashCode
public int hashCode()
-