Class HTBlockEntityContainerScreen
-
- All Implemented Interfaces:
-
hiiragi283.core.api.math.HTBoundsProvider,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 class HTBlockEntityContainerScreen<BE extends HTBlockEntity, MENU extends HTBlockEntityContainerMenu<BE>> extends HTContainerScreen<MENU>
-
-
Field Summary
Fields Modifier and Type Field Description private final BEblockEntityprivate final ResourceLocationtextureprivate final IntegerstartXprivate final IntegerstartYprivate final List<HTFluidWidget>fluidWidgetsprivate 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 HTBlockEntityContainerScreen(ResourceLocation texture, MENU menu, Inventory inventory, Component title)HTBlockEntityContainerScreen(MENU menu, Inventory inventory, Component title)
-
Method Summary
Modifier and Type Method Description final BEgetBlockEntity()final ResourceLocationgetTexture()final IntegergetStartX()final IntegergetStartY()final List<HTFluidWidget>getFluidWidgets()final static <MENU extends HTBlockEntityContainerMenu<?>> ResourceLocationgetMenuTexture(MENU menu)-
Methods inherited from class net.minecraft.client.gui.components.events.ContainerEventHandler
children, getChildAt, getCurrentFocusPath, isFocused, setFocused -
Methods inherited from class hiiragi283.core.client.gui.screen.HTBlockEntityContainerScreen
getGuiLeft, getGuiTop, getMenu, getSlotUnderMouse, getXSize, getYSize, isPauseScreen -
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused -
Methods inherited from class net.minecraft.client.gui.screens.Screen
added, afterKeyboardAction, afterMouseAction, afterMouseMove, clearFocus, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, 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.TabOrderedElement
getTabOrderGroup -
Methods inherited from class hiiragi283.core.client.gui.screen.HTContainerScreen
getBounds, render -
Methods inherited from class net.minecraft.client.gui.components.events.GuiEventListener
charTyped, isMouseOver, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath -
Methods inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
clearDraggingState, getSlotColor -
Methods inherited from class net.minecraft.client.gui.screens.inventory.MenuAccess
getMenu -
Methods inherited from class hiiragi283.core.api.math.HTBoundsProvider
isHovered -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getBlockEntity
final BE getBlockEntity()
-
getTexture
final ResourceLocation getTexture()
-
getFluidWidgets
final List<HTFluidWidget> getFluidWidgets()
-
getMenuTexture
final static <MENU extends HTBlockEntityContainerMenu<?>> ResourceLocation getMenuTexture(MENU menu)
-
-
-
-