Class TrainerDropListSlotScreen

java.lang.Object
net.minecraft.client.gui.components.AbstractWidget
com.pixelmonmod.pixelmon.client.gui.widgets.SlotBase
com.pixelmonmod.pixelmon.client.gui.npcEditor.TrainerDropListSlotScreen
All Implemented Interfaces:
net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Renderable, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.layouts.LayoutElement, net.minecraft.client.gui.narration.NarratableEntry, net.minecraft.client.gui.narration.NarrationSupplier

public class TrainerDropListSlotScreen extends SlotBase
Slot container used for NPC Trainer drops.
  • Constructor Details

    • TrainerDropListSlotScreen

      public TrainerDropListSlotScreen(TrainerEditorMoreScreen gui)
      Initializes a slot.
      Parameters:
      gui - The GUI that contains the slot.
  • Method Details

    • getSize

      protected int getSize()
      Specified by:
      getSize in class SlotBase
    • elementClicked

      protected void elementClicked(int var1, boolean var2)
      Specified by:
      elementClicked in class SlotBase
    • isSelected

      protected boolean isSelected(int var1)
      Specified by:
      isSelected in class SlotBase
    • get1Color

      protected float[] get1Color()
      Specified by:
      get1Color in class SlotBase
    • get255Color

      protected int[] get255Color()
      Overrides:
      get255Color in class SlotBase
    • drawSlot

      protected void drawSlot(net.minecraft.client.gui.GuiGraphics matrix, int var1, int var2, int var3, int var4)
      Specified by:
      drawSlot in class SlotBase
    • renderWidget

      public void renderWidget(net.minecraft.client.gui.GuiGraphics p_282139_, int p_268034_, int p_268009_, float p_268085_)
      Overrides:
      renderWidget in class SlotBase
    • updateWidgetNarration

      protected void updateWidgetNarration(net.minecraft.client.gui.narration.NarrationElementOutput p_259858_)
      Specified by:
      updateWidgetNarration in class net.minecraft.client.gui.components.AbstractWidget