public class PixelmonSpawnerScreen
extends net.minecraft.client.gui.screen.Screen
| Modifier and Type | Field and Description | 
|---|---|
| protected PokemonListScreen | list | 
| protected PixelmonSpawnerTileEntity | ps | 
| Constructor and Description | 
|---|
| PixelmonSpawnerScreen(int x,
                     int y,
                     int z)Initializes the spawner GUI. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | actionPerformed(net.minecraft.client.gui.widget.button.Button button) | 
| int | getBiggestRarity() | 
| int | getBiggestSpec(int maxSize) | 
| java.lang.String | getPercentage(int index) | 
| int | getPokemonListCount()Gets the number of Pokémon in the spawner list. | 
| PokemonRarity | getPokemonListEntry(int ind)Gets a Pokémon entry in the spawner list. | 
| void | init() | 
| boolean | isFullScreen() | 
| boolean | isPauseScreen() | 
| boolean | keyPressed(int p_231046_1_,
          int p_231046_2_,
          int p_231046_3_) | 
| boolean | mouseClicked(double par1,
            double par2,
            int par3) | 
| void | onClose() | 
| void | removeFromList(int var1)Removes a Pokémon from the spawner list. | 
| void | render(com.mojang.blaze3d.matrix.MatrixStack matrix,
      int mouseX,
      int mouseY,
      float partialTicks) | 
| void | tick() | 
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onFilesDrop, removed, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected PokemonListScreen list
protected PixelmonSpawnerTileEntity ps
public PixelmonSpawnerScreen(int x,
                             int y,
                             int z)
x - The x coordinate of the spawner.y - The y coordinate of the spawner.z - The z coordinate of the spawner.public void init()
init in class net.minecraft.client.gui.screen.Screenpublic boolean keyPressed(int p_231046_1_,
                          int p_231046_2_,
                          int p_231046_3_)
keyPressed in interface net.minecraft.client.gui.IGuiEventListenerkeyPressed in interface net.minecraft.client.gui.INestedGuiEventHandlerkeyPressed in class net.minecraft.client.gui.screen.Screenpublic boolean mouseClicked(double par1,
                            double par2,
                            int par3)
public boolean isPauseScreen()
isPauseScreen in class net.minecraft.client.gui.screen.Screenpublic void render(com.mojang.blaze3d.matrix.MatrixStack matrix,
                   int mouseX,
                   int mouseY,
                   float partialTicks)
render in interface net.minecraft.client.gui.IRenderablerender in class net.minecraft.client.gui.screen.Screenpublic void tick()
tick in interface net.minecraft.client.gui.screen.IScreentick in class net.minecraft.client.gui.screen.Screenprotected void actionPerformed(net.minecraft.client.gui.widget.button.Button button)
public void onClose()
onClose in class net.minecraft.client.gui.screen.Screenpublic PokemonRarity getPokemonListEntry(int ind)
ind - The index of the Pokémon entry.public int getBiggestRarity()
public int getBiggestSpec(int maxSize)
public java.lang.String getPercentage(int index)
public boolean isFullScreen()
public int getPokemonListCount()
public void removeFromList(int var1)
var1 - The index of the Pokémon to remove.