Class BattleRulesNPCEditorScreen

java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
All Implemented Interfaces:
IImportableContainer, net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Renderable, net.minecraft.client.gui.components.TabOrderedElement

public class BattleRulesNPCEditorScreen extends BattleRulesBaseScreen
Battle rules screen when editing an NPC Trainer.
  • Constructor Details

    • BattleRulesNPCEditorScreen

      public BattleRulesNPCEditorScreen()
      Initializes a battle rules screen.
  • Method Details

    • init

      public void init()
      Overrides:
      init in class BattleRulesBaseScreen
    • charTyped

      public boolean charTyped(char key, int keyCode)
      Specified by:
      charTyped in interface net.minecraft.client.gui.components.events.ContainerEventHandler
      Specified by:
      charTyped in interface net.minecraft.client.gui.components.events.GuiEventListener
      Overrides:
      charTyped in class BattleRulesBaseScreen
    • actionPerformed

      protected void actionPerformed(net.minecraft.client.gui.components.Button button)
      Overrides:
      actionPerformed in class BattleRulesBaseScreen
    • onClose

      public void onClose()
      Closes the screen and returns to the main Trainer editor screen.
      Overrides:
      onClose in class net.minecraft.client.gui.screens.Screen