Package net.mcreator.workspace.resources
Class TexturedModel
java.lang.Object
net.mcreator.workspace.resources.Model
net.mcreator.workspace.resources.TexturedModel
-
Nested Class Summary
Nested ClassesNested 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
ConstructorsModifierConstructorDescriptionprotectedTexturedModel(File file, TexturedModel.TextureMapping textureMapping) protectedTexturedModel(Workspace workspace, File file, String textureMappingName) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic StringgetJSONForTextureMapping(Map<String, TexturedModel.TextureMapping> textureMappingMap) getModelTextureMapVariations(Workspace workspace, Model m) static Map<String, TexturedModel.TextureMapping> getTextureMappingsForModel(Workspace workspace, Model model) inthashCode()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
protected TexturedModel(Workspace workspace, File file, String textureMappingName) throws ModelException - Throws:
ModelException
-
-
Method Details
-
getTextureMapping
-
getModelTextureMapVariations
-
getTextureMappingsForModel
public static Map<String,TexturedModel.TextureMapping> getTextureMappingsForModel(Workspace workspace, Model model) -
getJSONForTextureMapping
public static String getJSONForTextureMapping(Map<String, TexturedModel.TextureMapping> textureMappingMap) -
toString
-
getReadableName
- Overrides:
getReadableNamein classModel
-
equals
-
hashCode
public int hashCode()
-