public class DayCareScreen extends net.minecraft.client.gui.DisplayEffectsScreen<DayCareContainer> implements InventoryPixelmonBase
| Modifier and Type | Field and Description |
|---|---|
static DayCareSlot[] |
SLOTS |
hoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, quickCraftSlots, slotColor, titleLabelX, titleLabelY, topPos| Constructor and Description |
|---|
DayCareScreen(DayCareContainer container,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.util.text.ITextComponent title) |
| 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 |
isPauseScreen() |
boolean |
mouseClicked(double x,
double y,
int mouseButton) |
boolean |
mouseReleased(double mouseX,
double mouseY,
int button) |
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 partialTicks,
int mouseX,
int mouseY) |
void |
renderEffects(com.mojang.blaze3d.matrix.MatrixStack matrix) |
protected void |
renderLabels(com.mojang.blaze3d.matrix.MatrixStack p_230451_1_,
int p_230451_2_,
int p_230451_3_) |
void |
setAndSelectBox(DayCareBox box) |
void |
setBox(DayCareBox box) |
void |
setChild(Pokemon child,
boolean showPotentialShiny) |
void |
tick() |
renderBackgrounds, renderIcons, renderLabelscheckHotbarKeyPressed, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getXSize, getYSize, hasClickedOutside, isHovering, keyPressed, mouseDragged, onClose, removed, renderTooltip, slotClickedaddButton, 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 DayCareSlot[] SLOTS
public DayCareScreen(DayCareContainer container, net.minecraft.entity.player.PlayerInventory playerInventory, net.minecraft.util.text.ITextComponent title)
public void init()
init in class net.minecraft.client.gui.DisplayEffectsScreen<DayCareContainer>public 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.DisplayEffectsScreen<DayCareContainer>mouseX - The x coordinate of the mouse.mouseY - The y coordinate of the mouse.partialTicks - The current amount of partial ticks.public 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.ContainerScreen<DayCareContainer>public boolean mouseReleased(double mouseX,
double mouseY,
int button)
mouseReleased in interface net.minecraft.client.gui.IGuiEventListenermouseReleased in interface net.minecraft.client.gui.INestedGuiEventHandlermouseReleased in class net.minecraft.client.gui.screen.inventory.ContainerScreen<DayCareContainer>public void tick()
tick in interface net.minecraft.client.gui.screen.IScreentick in class net.minecraft.client.gui.screen.inventory.ContainerScreen<DayCareContainer>protected void renderBg(com.mojang.blaze3d.matrix.MatrixStack matrix,
float partialTicks,
int mouseX,
int mouseY)
renderBg in class net.minecraft.client.gui.screen.inventory.ContainerScreen<DayCareContainer>public void setChild(Pokemon child, boolean showPotentialShiny)
protected void renderLabels(com.mojang.blaze3d.matrix.MatrixStack p_230451_1_,
int p_230451_2_,
int p_230451_3_)
renderLabels in class net.minecraft.client.gui.screen.inventory.ContainerScreen<DayCareContainer>public boolean isPauseScreen()
isPauseScreen in class net.minecraft.client.gui.screen.inventory.ContainerScreen<DayCareContainer>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.public java.util.List<net.minecraft.client.gui.widget.Widget> getButtonList()
InventoryPixelmonBasegetButtonList in interface InventoryPixelmonBasepublic void refreshSearchResults()
refreshSearchResults in interface InventoryPixelmonBasepublic void setAndSelectBox(DayCareBox box)
public void setBox(DayCareBox box)
public void renderEffects(com.mojang.blaze3d.matrix.MatrixStack matrix)
renderEffects in class net.minecraft.client.gui.DisplayEffectsScreen<DayCareContainer>protected void checkEffectRendering()
checkEffectRendering in class net.minecraft.client.gui.DisplayEffectsScreen<DayCareContainer>