Package net.mcreator.workspace.resources
Class CustomTexture
java.lang.Object
net.mcreator.workspace.resources.Texture
net.mcreator.workspace.resources.CustomTexture
A texture created or imported as a resource of a workspace.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.mcreator.workspace.resources.Texture
Texture.Dummy
-
Field Summary
Fields inherited from class net.mcreator.workspace.resources.Texture
textureName, textureType
-
Method Summary
Modifier and TypeMethodDescriptiongetTextureIcon
(Workspace workspace) getTexturesOfType
(Workspace workspace, TextureType type) Scans the workspace and collects all the available custom textures of a certain type.
-
Method Details
-
getTextureFile
-
getTextureIcon
- Specified by:
getTextureIcon
in classTexture
-
getTexturesOfType
Scans the workspace and collects all the available custom textures of a certain type.- Parameters:
workspace
- The workspace to collect icons for.type
- The type of the textures to collect.- Returns:
- The list of custom textures available in the provided workspace.
-