Class HTContainerScreen
-
- All Implemented Interfaces:
-
hiiragi283.core.api.gui.HTAbstractGui,net.minecraft.client.gui.components.Renderable,net.minecraft.client.gui.components.TabOrderedElement,net.minecraft.client.gui.components.events.ContainerEventHandler,net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.screens.inventory.MenuAccess
public abstract class HTContainerScreen<MENU extends HTContainerMenu<?>> extends AbstractContainerScreen<MENU> implements HTAbstractGui
-
-
Field Summary
Fields Modifier and Type Field Description private final ItemStackcarriedprivate final IntegerstartXprivate final IntegerstartYprivate final ComponentPathcurrentFocusPathprivate final IntegerguiLeftprivate GuiEventListenerfocusedprivate final IntegerxSizeprivate final ScreenRectanglerectangleprivate final IntegertabOrderGroupprivate final Componenttitleprivate final IntegerySizeprivate BooleanisDraggingprivate final IntegerguiTopprivate final Minecraftminecraftprivate final BooleanisPauseScreenprivate final ComponentnarrationMessageprivate final MusicbackgroundMusicprivate final SlotslotUnderMouseprivate BooleanisFocusedprivate final MENUmenupublic final Integerwidthpublic final Integerheightpublic final List<Renderable>renderables
-
Constructor Summary
Constructors Constructor Description HTContainerScreen(MENU menu, Inventory inventory, Component title)
-
Method Summary
Modifier and Type Method Description ItemStackgetCarried()final IntegergetStartX()final IntegergetStartY()Unitrender(GuiGraphics guiGraphics, Integer mouseX, Integer mouseY, Float partialTick)-
Methods inherited from class net.minecraft.client.gui.components.events.ContainerEventHandler
children, getChildAt, getCurrentFocusPath, getFocused, isDragging, isFocused, setDragging, setFocused, setFocused -
Methods inherited from class hiiragi283.core.client.gui.screen.HTContainerScreen
getFocused, getGuiLeft, getGuiTop, getMenu, getRectangle, getSlotUnderMouse, getXSize, getYSize, isDragging, isPauseScreen, setDragging, setFocused -
Methods inherited from class net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup -
Methods inherited from class net.minecraft.client.gui.screens.Screen
added, afterKeyboardAction, afterMouseAction, afterMouseMove, clearFocus, getBackgroundMusic, getMinecraft, getNarrationMessage, getTitle, handleComponentClicked, handleDelayedNarration, init, onClose, onFilesDrop, removed, renderBackground, renderTransparentBackground, renderWithTooltip, resize, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, tick, triggerImmediateNarration, updateNarratorStatus -
Methods inherited from class net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getRectangle, isMouseOver, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath -
Methods inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
clearDraggingState, getGuiLeft, getGuiTop, getSlotColor, getXSize, getYSize -
Methods inherited from class net.minecraft.client.gui.screens.inventory.MenuAccess
getMenu -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HTContainerScreen
HTContainerScreen(MENU menu, Inventory inventory, Component title)
-
-
-
-