Package info.u_team.u_team_core.screen
Klasse UContainerMenuScreen<T extends net.minecraft.world.inventory.AbstractContainerMenu>
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<T>
info.u_team.u_team_core.screen.FluidContainerMenuScreen<T>
info.u_team.u_team_core.screen.UContainerMenuScreen<T>
- Alle implementierten Schnittstellen:
PerspectiveRenderable,TooltipRenderable,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<T>
public class UContainerMenuScreen<T extends net.minecraft.world.inventory.AbstractContainerMenu>
extends FluidContainerMenuScreen<T>
implements PerspectiveRenderable, TooltipRenderable
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen info.u_team.u_team_core.screen.FluidContainerMenuScreen
FluidContainerMenuScreen.FluidContainerScreenDelegatorVon Klasse geerbte verschachtelte Klassen/Schnittstellen net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.Screen.NarratableSearchResult -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected net.minecraft.resources.ResourceLocationprotected RGBAprotected intprotected intprotected static final RGBAprotected booleanprotected booleanprotected RGBAVon Klasse geerbte Felder net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
hoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, menu, playerInventoryTitle, quickCraftSlots, SLOT_ITEM_BLIT_OFFSET, titleLabelX, titleLabelY, topPosVon Klasse geerbte Felder net.minecraft.client.gui.screens.Screen
CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, PANORAMA, screenExecutor, title, widthVon Schnittstelle geerbte Felder net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungUContainerMenuScreen(T menu, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.chat.Component title, net.minecraft.resources.ResourceLocation background) UContainerMenuScreen(T menu, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.chat.Component title, net.minecraft.resources.ResourceLocation background, int imageWidth, int imageHeight) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidbooleanmouseDragged(double mouseX, double mouseY, int button, double dragX, double dragY) voidrender(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) voidrenderBefore(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) voidrenderBehind(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) protected voidrenderBg(net.minecraft.client.gui.GuiGraphics guiGraphics, float partialTick, int mouseX, int mouseY) protected voidrenderLabels(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY) voidrenderTooltip(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) protected voidsetBackground(net.minecraft.resources.ResourceLocation background) protected voidsetBackgroundDimensions(int size) protected voidsetBackgroundDimensions(int backgroundWidth, int backgroundHeight) protected voidprotected voidsetDrawText(boolean drawTitleText, boolean drawInventoryText) protected voidsetImageDimensions(int imageWidth, int imageHeight) protected voidsetTextLocation(int titleLabelX, int titleLabelY, int inventoryLabelX, int inventoryLabelY) Von Klasse geerbte Methoden info.u_team.u_team_core.screen.FluidContainerMenuScreen
getDelegator, mouseClicked, renderTooltipVon Klasse geerbte Methoden net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
checkHotbarKeyPressed, clearDraggingState, getMenu, getTooltipFromContainerItem, handleSlotStateChanged, hasClickedOutside, init, isHovering, isPauseScreen, keyPressed, mouseReleased, onClose, removed, renderBackground, renderSlot, renderSlotHighlight, slotClicked, tickVon Klasse geerbte Methoden net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, findNarratableWidget, getBackgroundMusic, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onFilesDrop, rebuildWidgets, removeWidget, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus, wrapScreenErrorVon Klasse geerbte Methoden net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseScrolled, nextFocusPath, setFocusedVon Schnittstelle geerbte Methoden net.minecraft.client.gui.components.events.GuiEventListener
mouseMovedVon Schnittstelle geerbte Methoden net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Felddetails
-
DEFAULT_TEXT_COLOR
-
background
protected net.minecraft.resources.ResourceLocation background -
backgroundWidth
protected int backgroundWidth -
backgroundHeight
protected int backgroundHeight -
backgroundColor
-
drawTitleText
protected boolean drawTitleText -
drawInventoryText
protected boolean drawInventoryText -
textColor
-
-
Konstruktordetails
-
UContainerMenuScreen
public UContainerMenuScreen(T menu, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.chat.Component title, net.minecraft.resources.ResourceLocation background, int imageWidth, int imageHeight) -
UContainerMenuScreen
public UContainerMenuScreen(T menu, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.chat.Component title, net.minecraft.resources.ResourceLocation background)
-
-
Methodendetails
-
setBackground
protected void setBackground(net.minecraft.resources.ResourceLocation background) -
setBackgroundDimensions
protected void setBackgroundDimensions(int size) -
setBackgroundDimensions
protected void setBackgroundDimensions(int backgroundWidth, int backgroundHeight) -
setImageDimensions
protected void setImageDimensions(int imageWidth, int imageHeight) -
setDrawText
protected void setDrawText(boolean drawTitleText, boolean drawInventoryText) -
setDefaultTextLocation
protected void setDefaultTextLocation() -
setTextLocation
protected void setTextLocation(int titleLabelX, int titleLabelY, int inventoryLabelX, int inventoryLabelY) -
render
public void render(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) - Angegeben von:
renderin SchnittstellePerspectiveRenderable- Angegeben von:
renderin Schnittstellenet.minecraft.client.gui.components.Renderable- Setzt außer Kraft:
renderin Klassenet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<T extends net.minecraft.world.inventory.AbstractContainerMenu>
-
renderBehind
public void renderBehind(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) - Angegeben von:
renderBehindin SchnittstellePerspectiveRenderable
-
renderBefore
public void renderBefore(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) - Angegeben von:
renderBeforein SchnittstellePerspectiveRenderable
-
renderTooltip
public void renderTooltip(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) - Angegeben von:
renderTooltipin SchnittstelleTooltipRenderable
-
renderLabels
protected void renderLabels(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY) - Setzt außer Kraft:
renderLabelsin KlasseFluidContainerMenuScreen<T extends net.minecraft.world.inventory.AbstractContainerMenu>
-
renderBg
protected void renderBg(net.minecraft.client.gui.GuiGraphics guiGraphics, float partialTick, int mouseX, int mouseY) - Angegeben von:
renderBgin Klassenet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<T extends net.minecraft.world.inventory.AbstractContainerMenu>
-
containerTick
public void containerTick()- Setzt außer Kraft:
containerTickin Klassenet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<T extends net.minecraft.world.inventory.AbstractContainerMenu>
-
mouseDragged
public boolean mouseDragged(double mouseX, double mouseY, int button, double dragX, double dragY) - Angegeben von:
mouseDraggedin Schnittstellenet.minecraft.client.gui.components.events.ContainerEventHandler- Angegeben von:
mouseDraggedin Schnittstellenet.minecraft.client.gui.components.events.GuiEventListener- Setzt außer Kraft:
mouseDraggedin Klassenet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<T extends net.minecraft.world.inventory.AbstractContainerMenu>
-