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, slotClicked
checkEffectRendering, renderBackgrounds, renderIcons, renderLabels
checkHotbarKeyPressed, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getXSize, getYSize, isPauseScreen, keyPressed, mouseDragged, onClose, renderTooltip
addButton, 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, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public 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.InventoryScreen
public void render(com.mojang.blaze3d.matrix.MatrixStack matrix, int mouseX, int mouseY, float partialTicks)
InventoryPixelmonBase
render
in interface InventoryPixelmonBase
render
in interface net.minecraft.client.gui.IRenderable
render
in class net.minecraft.client.gui.screen.inventory.InventoryScreen
mouseX
- 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()
InventoryPixelmonBase
getZLevel
in interface InventoryPixelmonBase
public int getGUILeft()
InventoryPixelmonBase
getGUILeft
in interface InventoryPixelmonBase
public void offsetGUILeft(int offset)
InventoryPixelmonBase
offsetGUILeft
in interface InventoryPixelmonBase
offset
- 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.InventoryScreen
protected void renderTabButton(com.mojang.blaze3d.matrix.MatrixStack matrix, SurvivalTab tab)
public java.util.List<net.minecraft.client.gui.widget.Widget> getButtonList()
InventoryPixelmonBase
getButtonList
in interface InventoryPixelmonBase
public void refreshSearchResults()
refreshSearchResults
in interface InventoryPixelmonBase
public boolean mouseClicked(double x, double y, int mouseButton)
mouseClicked
in interface net.minecraft.client.gui.IGuiEventListener
mouseClicked
in interface net.minecraft.client.gui.INestedGuiEventHandler
mouseClicked
in class net.minecraft.client.gui.screen.inventory.InventoryScreen
protected boolean checkTabClicked(SurvivalTab tab, double x, double y)
public boolean mouseReleased(double mouseX, double mouseY, int state)
mouseReleased
in interface net.minecraft.client.gui.IGuiEventListener
mouseReleased
in interface net.minecraft.client.gui.INestedGuiEventHandler
mouseReleased
in class net.minecraft.client.gui.screen.inventory.InventoryScreen
public void tick()
tick
in interface net.minecraft.client.gui.screen.IScreen
tick
in class net.minecraft.client.gui.screen.inventory.InventoryScreen