Class TextureEditor

java.lang.Object
foundry.veil.api.client.editor.SingleWindowEditor
foundry.veil.impl.client.editor.TextureEditor
All Implemented Interfaces:
Editor, AutoCloseable, org.lwjgl.system.NativeResource

@Internal public class TextureEditor extends SingleWindowEditor
  • Field Details

    • TITLE

      public static final net.minecraft.network.chat.Component TITLE
    • DOWNLOAD

      public static final net.minecraft.network.chat.Component DOWNLOAD
    • POP_OUT

      public static final net.minecraft.network.chat.Component POP_OUT
    • FLIP_X

      public static final net.minecraft.network.chat.Component FLIP_X
    • FLIP_Y

      public static final net.minecraft.network.chat.Component FLIP_Y
    • NO_TEXTURE

      public static final net.minecraft.network.chat.Component NO_TEXTURE
  • Constructor Details

    • TextureEditor

      public TextureEditor()
  • Method Details

    • getDisplayName

      public net.minecraft.network.chat.Component getDisplayName()
      Returns:
      The visible display name of this editor
    • getGroup

      public net.minecraft.network.chat.Component getGroup()
      Returns:
      The name of the tab group to put this editor in
    • renderComponents

      protected void renderComponents()
      Description copied from class: SingleWindowEditor
      Adds all components inside the window.
      Specified by:
      renderComponents in class SingleWindowEditor
    • render

      public void render()
      Description copied from interface: Editor
      Renders this editor to the screen.
      Specified by:
      render in interface Editor
      Overrides:
      render in class SingleWindowEditor
    • renderLast

      public void renderLast()
      Description copied from interface: Editor
      Called just before the imgui state is drawn to the screen
    • renderMenuBar

      public void renderMenuBar()
      Description copied from interface: Editor
      Renders elements into the menu bar. Only called if Editor.isMenuBarEnabled() is true.
    • isMenuBarEnabled

      public boolean isMenuBarEnabled()
      Returns:
      Whether this editor should draw into the menu bar
    • onHide

      public void onHide()
      Description copied from interface: Editor
      Called when this editor is no longer open.