Class CreativeInventoryExtendedScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<T>
net.minecraft.client.gui.screens.inventory.EffectRenderingInventoryScreen<net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen.ItemPickerMenu>
net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen
com.pixelmonmod.pixelmon.client.gui.inventory.CreativeInventoryExtendedScreen
- All Implemented Interfaces:
InventoryPixelmonBase,net.minecraft.client.gui.components.events.ContainerEventHandler,net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.components.Renderable,net.minecraft.client.gui.components.TabOrderedElement,net.minecraft.client.gui.screens.inventory.MenuAccess<net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen.ItemPickerMenu>
public class CreativeInventoryExtendedScreen
extends net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen
implements InventoryPixelmonBase
The Pokémon party screen in the inventory GUI when in Creative mode.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen
net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen.ItemPickerMenuNested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.Screen.NarratableSearchResult -
Field Summary
Fields inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
hoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, playerInventoryTitle, quickCraftSlots, SLOT_ITEM_BLIT_OFFSET, slotColor, titleLabelX, titleLabelY, topPosFields inherited from class net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, children, font, height, minecraft, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsConstructorDescriptionCreativeInventoryExtendedScreen(net.minecraft.world.entity.player.Player player, net.minecraft.world.flag.FeatureFlagSet p_260074_, boolean p_259569_) Opens the party GUI. -
Method Summary
Modifier and TypeMethodDescriptionbooleanList<net.minecraft.client.gui.components.Renderable>Gets the list of buttons on the GUI.intGets the x coordinate of the left side of the GUI.floatGets the z coordinate of the inventory.voidinit()booleanmouseClicked(double x, double y, int mouseButton) booleanmouseReleased(double mouseX, double mouseY, int mouseButton) voidoffsetGUILeft(int offset) Adds an amount to the x coordinate of the left side of the GUI.voidvoidrender(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks) Calls the superclass's drawScreen().protected voidrenderBg(net.minecraft.client.gui.GuiGraphics graphics, float partialTicks, int mouseX, int mouseY) voidtick()Methods inherited from class net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen
charTyped, checkTabClicked, checkTabHovering, containerTick, getCurrentPage, getTooltipFromContainerItem, handleHotbarLoadOrSave, hasClickedOutside, insideScrollbar, isInventoryOpen, keyPressed, keyReleased, mouseDragged, mouseScrolled, removed, renderLabels, renderTabButton, resize, setCurrentPage, slotClickedMethods inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
checkHotbarKeyPressed, clearDraggingState, getGuiLeft, getGuiTop, getMenu, getSlotColor, getSlotUnderMouse, getXSize, getYSize, isHovering, isPauseScreen, onClose, renderBackground, renderSlotHighlight, renderSlotHighlight, renderTooltipMethods inherited from class net.minecraft.client.gui.screens.Screen
added, addEventWidget, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearWidgets, confirmLink, createArrowEvent, createTabEvent, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrationEnabled, onFilesDrop, openLink, rebuildWidgets, removeWidget, renderDirtBackground, renderTransparentBackground, renderWithTooltip, repositionElements, runNarration, scheduleNarration, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, shouldRunNarration, suppressNarration, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
getChildAt, getCurrentFocusPath, isFocused, magicalSpecialHackyFocus, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
CreativeInventoryExtendedScreen
public CreativeInventoryExtendedScreen(net.minecraft.world.entity.player.Player player, net.minecraft.world.flag.FeatureFlagSet p_260074_, boolean p_259569_) Opens the party GUI.- Parameters:
player- The player to open the party overlay for.
-
-
Method Details
-
init
public void init()- Overrides:
initin classnet.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen
-
render
public void render(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks) Description copied from interface:InventoryPixelmonBaseCalls the superclass's drawScreen().- Specified by:
renderin interfaceInventoryPixelmonBase- Specified by:
renderin interfacenet.minecraft.client.gui.components.Renderable- Overrides:
renderin classnet.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreenmouseX- The x coordinate of the mouse.mouseY- The y coordinate of the mouse.partialTicks- The current amount of partial ticks.
-
canSeeEffects
public boolean canSeeEffects()- Overrides:
canSeeEffectsin classnet.minecraft.client.gui.screens.inventory.EffectRenderingInventoryScreen<net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen.ItemPickerMenu>
-
getZLevel
public float getZLevel()Description copied from interface:InventoryPixelmonBaseGets the z coordinate of the inventory.- Specified by:
getZLevelin interfaceInventoryPixelmonBase
-
getGUILeft
public int getGUILeft()Description copied from interface:InventoryPixelmonBaseGets the x coordinate of the left side of the GUI.- Specified by:
getGUILeftin interfaceInventoryPixelmonBase- Returns:
- The x coordinate of the left side of the GUI.
-
offsetGUILeft
public void offsetGUILeft(int offset) Description copied from interface:InventoryPixelmonBaseAdds an amount to the x coordinate of the left side of the GUI.- Specified by:
offsetGUILeftin interfaceInventoryPixelmonBase- Parameters:
offset- The amount to add to the x coordinate of the left side of the GUI.
-
getButtonList
Description copied from interface:InventoryPixelmonBaseGets the list of buttons on the GUI.- Specified by:
getButtonListin interfaceInventoryPixelmonBase- Returns:
- The list of buttons on the GUI.
-
refreshSearchResults
public void refreshSearchResults()- Specified by:
refreshSearchResultsin interfaceInventoryPixelmonBase
-
renderBg
protected void renderBg(net.minecraft.client.gui.GuiGraphics graphics, float partialTicks, int mouseX, int mouseY) - Overrides:
renderBgin classnet.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen
-
mouseClicked
public boolean mouseClicked(double x, double y, int mouseButton) - Specified by:
mouseClickedin interfacenet.minecraft.client.gui.components.events.ContainerEventHandler- Specified by:
mouseClickedin interfacenet.minecraft.client.gui.components.events.GuiEventListener- Overrides:
mouseClickedin classnet.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen
-
mouseReleased
public boolean mouseReleased(double mouseX, double mouseY, int mouseButton) - Specified by:
mouseReleasedin interfacenet.minecraft.client.gui.components.events.ContainerEventHandler- Specified by:
mouseReleasedin interfacenet.minecraft.client.gui.components.events.GuiEventListener- Overrides:
mouseReleasedin classnet.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen
-
tick
public void tick()- Overrides:
tickin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen.ItemPickerMenu>
-