public class CreativeInventoryExtendedScreen extends net.minecraft.client.gui.screen.inventory.CreativeScreen implements InventoryPixelmonBase
scrollOffs, searchBox, selectedTab, visibleTags
hoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, quickCraftSlots, slotColor, titleLabelX, titleLabelY, topPos
Constructor and Description |
---|
CreativeInventoryExtendedScreen(net.minecraft.entity.player.PlayerEntity player)
Opens the party GUI.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkEffectRendering() |
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 mouseButton) |
void |
offsetGUILeft(int offset)
Adds an amount to the x coordinate of the left side of the GUI.
|
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 partialTicks,
int mouseX,
int mouseY) |
void |
renderEffects(com.mojang.blaze3d.matrix.MatrixStack matrix) |
void |
tick() |
charTyped, checkTabClicked, checkTabHovering, getSelectedTab, handleHotbarLoadOrSave, hasClickedOutside, insideScrollbar, keyPressed, keyReleased, mouseDragged, mouseScrolled, refreshSearchResults, removed, renderLabels, renderTabButton, renderTooltip, resize, slotClicked, updateVisibleTags
renderBackgrounds, renderIcons, renderLabels
checkHotbarKeyPressed, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getXSize, getYSize, isHovering, isPauseScreen, 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, renderWrappedToolTip, 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
refreshSearchResults
public CreativeInventoryExtendedScreen(net.minecraft.entity.player.PlayerEntity player)
player
- The player to open the party overlay for.public void init()
init
in class net.minecraft.client.gui.screen.inventory.CreativeScreen
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.CreativeScreen
mouseX
- The x coordinate of the mouse.mouseY
- The y coordinate of the mouse.partialTicks
- The current amount of partial ticks.protected void checkEffectRendering()
checkEffectRendering
in class net.minecraft.client.gui.screen.inventory.CreativeScreen
public void renderEffects(com.mojang.blaze3d.matrix.MatrixStack matrix)
renderEffects
in class net.minecraft.client.gui.DisplayEffectsScreen<net.minecraft.client.gui.screen.inventory.CreativeScreen.CreativeContainer>
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 partialTicks, int mouseX, int mouseY)
renderBg
in class net.minecraft.client.gui.screen.inventory.CreativeScreen
public java.util.List<net.minecraft.client.gui.widget.Widget> getButtonList()
InventoryPixelmonBase
getButtonList
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.CreativeScreen
public boolean mouseReleased(double mouseX, double mouseY, int mouseButton)
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.CreativeScreen
public void tick()
tick
in interface net.minecraft.client.gui.screen.IScreen
tick
in class net.minecraft.client.gui.screen.inventory.CreativeScreen