public class InventoryPixelmonExtendedScreen extends net.minecraft.client.gui.screen.inventory.InventoryScreen implements InventoryPixelmonBase
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.util.ResourceLocation |
INVENTORY_LOCATION |
hoveredSlot, imageHeight, imageWidth, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, quickCraftSlots, slotColor, titleLabelX, titleLabelY, topPos| Constructor and Description |
|---|
InventoryPixelmonExtendedScreen(net.minecraft.entity.player.PlayerEntity player)
Opens the party GUI.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkTabClicked(SurvivalTab tab,
double x,
double y) |
java.util.List<net.minecraft.client.gui.widget.Widget> |
getButtonList()
Gets the list of buttons on the GUI.
|
int |
getGUILeft()
Gets the x coordinate of the left side of the GUI.
|
float |
getZLevel()
Gets the z coordinate of the inventory.
|
void |
init() |
boolean |
mouseClicked(double x,
double y,
int mouseButton) |
boolean |
mouseReleased(double mouseX,
double mouseY,
int state) |
void |
offsetGUILeft(int offset)
Adds an amount to the x coordinate of the left side of the GUI.
|
void |
refreshSearchResults() |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks)
Calls the superclass's drawScreen().
|
protected void |
renderBg(com.mojang.blaze3d.matrix.MatrixStack matrix,
float par1,
int par2,
int par3) |
void |
renderEffects(com.mojang.blaze3d.matrix.MatrixStack matrix) |
protected void |
renderSpecialBg(com.mojang.blaze3d.matrix.MatrixStack p_230450_1_,
float partialTicks,
int mouseX,
int mouseY) |
protected void |
renderTabButton(com.mojang.blaze3d.matrix.MatrixStack matrix,
SurvivalTab tab) |
void |
tick() |
getRecipeBookComponent, hasClickedOutside, isHovering, recipesUpdated, removed, renderEntityInInventory, renderLabels, slotClickedcheckEffectRendering, renderBackgrounds, renderIcons, renderLabelscheckHotbarKeyPressed, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getXSize, getYSize, isPauseScreen, keyPressed, mouseDragged, onClose, renderTooltipaddButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onFilesDrop, 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, waitpublic static final net.minecraft.util.ResourceLocation INVENTORY_LOCATION
public InventoryPixelmonExtendedScreen(net.minecraft.entity.player.PlayerEntity player)
player - The player to open the party overlay for.public void renderEffects(com.mojang.blaze3d.matrix.MatrixStack matrix)
renderEffects in class net.minecraft.client.gui.DisplayEffectsScreen<net.minecraft.inventory.container.PlayerContainer>public void init()
init in class net.minecraft.client.gui.screen.inventory.InventoryScreenpublic void render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks)
InventoryPixelmonBaserender in interface InventoryPixelmonBaserender in interface net.minecraft.client.gui.IRenderablerender in class net.minecraft.client.gui.screen.inventory.InventoryScreenmouseX - The x coordinate of the mouse.mouseY - The y coordinate of the mouse.partialTicks - The current amount of partial ticks.protected void renderSpecialBg(com.mojang.blaze3d.matrix.MatrixStack p_230450_1_,
float partialTicks,
int mouseX,
int mouseY)
public float getZLevel()
InventoryPixelmonBasegetZLevel in interface InventoryPixelmonBasepublic int getGUILeft()
InventoryPixelmonBasegetGUILeft in interface InventoryPixelmonBasepublic void offsetGUILeft(int offset)
InventoryPixelmonBaseoffsetGUILeft in interface InventoryPixelmonBaseoffset - The amount to add to the x coordinate of the left side of the GUI.protected void renderBg(com.mojang.blaze3d.matrix.MatrixStack matrix,
float par1,
int par2,
int par3)
renderBg in class net.minecraft.client.gui.screen.inventory.InventoryScreenprotected void renderTabButton(com.mojang.blaze3d.matrix.MatrixStack matrix,
SurvivalTab tab)
public java.util.List<net.minecraft.client.gui.widget.Widget> getButtonList()
InventoryPixelmonBasegetButtonList in interface InventoryPixelmonBasepublic void refreshSearchResults()
refreshSearchResults in interface InventoryPixelmonBasepublic boolean mouseClicked(double x,
double y,
int mouseButton)
mouseClicked in interface net.minecraft.client.gui.IGuiEventListenermouseClicked in interface net.minecraft.client.gui.INestedGuiEventHandlermouseClicked in class net.minecraft.client.gui.screen.inventory.InventoryScreenprotected boolean checkTabClicked(SurvivalTab tab, double x, double y)
public boolean mouseReleased(double mouseX,
double mouseY,
int state)
mouseReleased in interface net.minecraft.client.gui.IGuiEventListenermouseReleased in interface net.minecraft.client.gui.INestedGuiEventHandlermouseReleased in class net.minecraft.client.gui.screen.inventory.InventoryScreenpublic void tick()
tick in interface net.minecraft.client.gui.screen.IScreentick in class net.minecraft.client.gui.screen.inventory.InventoryScreen