Class LightEditor

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

public class LightEditor extends SingleWindowEditor
  • Field Details

    • TITLE

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

    • LightEditor

      public LightEditor()
  • Method Details

    • getDisplayName

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

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

      public boolean isEnabled()
      Returns:
      Whether this editor should be selectable.
    • renderComponents

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

      public void onShow()
      Description copied from interface: Editor
      Called when this editor is first opened.
      Specified by:
      onShow in interface Editor
      Overrides:
      onShow in class SingleWindowEditor