Class TextureHolder

java.lang.Object
net.mcreator.element.parts.TextureHolder
All Implemented Interfaces:
IWorkspaceDependent

public class TextureHolder extends Object implements IWorkspaceDependent
  • Constructor Details

    • TextureHolder

      public TextureHolder(Workspace workspace, @Nullable Texture textureObj)
    • TextureHolder

      public TextureHolder(Workspace workspace, @Nullable String texture)
      A way to "convert" a texture string to a TextureHolder object.
      Parameters:
      workspace - Workspace the texture belongs to
      texture - Texture name
  • Method Details