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.FluidContainerScreenDelegator

    Von Klasse geerbte verschachtelte Klassen/Schnittstellen net.minecraft.client.gui.screens.Screen

    net.minecraft.client.gui.screens.Screen.NarratableSearchResult
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    protected net.minecraft.resources.ResourceLocation
     
    protected RGBA
     
    protected int
     
    protected int
     
    protected static final RGBA
     
    protected boolean
     
    protected boolean
     
    protected RGBA
     

    Von 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, topPos

    Von 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, width

    Von Schnittstelle geerbte Felder net.minecraft.client.gui.components.events.GuiEventListener

    DOUBLE_CLICK_THRESHOLD_MS
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    UContainerMenuScreen(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 Typ
    Methode
    Beschreibung
    void
     
    boolean
    mouseDragged(double mouseX, double mouseY, int button, double dragX, double dragY)
     
    void
    render(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
     
    void
    renderBefore(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
     
    void
    renderBehind(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
     
    protected void
    renderBg(net.minecraft.client.gui.GuiGraphics guiGraphics, float partialTick, int mouseX, int mouseY)
     
    protected void
    renderLabels(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY)
     
    void
    renderTooltip(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
     
    protected void
    setBackground(net.minecraft.resources.ResourceLocation background)
     
    protected void
     
    protected void
    setBackgroundDimensions(int backgroundWidth, int backgroundHeight)
     
    protected void
     
    protected void
    setDrawText(boolean drawTitleText, boolean drawInventoryText)
     
    protected void
    setImageDimensions(int imageWidth, int imageHeight)
     
    protected void
    setTextLocation(int titleLabelX, int titleLabelY, int inventoryLabelX, int inventoryLabelY)
     

    Von Klasse geerbte Methoden info.u_team.u_team_core.screen.FluidContainerMenuScreen

    getDelegator, mouseClicked, renderTooltip

    Von 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, tick

    Von 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, wrapScreenError

    Von Klasse geerbte Methoden net.minecraft.client.gui.components.events.AbstractContainerEventHandler

    getFocused, isDragging, setDragging, setFocused

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Von Schnittstelle geerbte Methoden net.minecraft.client.gui.components.events.ContainerEventHandler

    charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseScrolled, nextFocusPath, setFocused

    Von Schnittstelle geerbte Methoden net.minecraft.client.gui.components.events.GuiEventListener

    mouseMoved

    Von Schnittstelle geerbte Methoden net.minecraft.client.gui.components.TabOrderedElement

    getTabOrderGroup
  • Felddetails

    • DEFAULT_TEXT_COLOR

      protected static final RGBA DEFAULT_TEXT_COLOR
    • background

      protected net.minecraft.resources.ResourceLocation background
    • backgroundWidth

      protected int backgroundWidth
    • backgroundHeight

      protected int backgroundHeight
    • backgroundColor

      protected RGBA backgroundColor
    • drawTitleText

      protected boolean drawTitleText
    • drawInventoryText

      protected boolean drawInventoryText
    • textColor

      protected RGBA 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:
      render in Schnittstelle PerspectiveRenderable
      Angegeben von:
      render in Schnittstelle net.minecraft.client.gui.components.Renderable
      Setzt außer Kraft:
      render in Klasse net.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:
      renderBehind in Schnittstelle PerspectiveRenderable
    • renderBefore

      public void renderBefore(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
      Angegeben von:
      renderBefore in Schnittstelle PerspectiveRenderable
    • renderTooltip

      public void renderTooltip(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
      Angegeben von:
      renderTooltip in Schnittstelle TooltipRenderable
    • renderLabels

      protected void renderLabels(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY)
      Setzt außer Kraft:
      renderLabels in Klasse FluidContainerMenuScreen<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:
      renderBg in Klasse net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<T extends net.minecraft.world.inventory.AbstractContainerMenu>
    • containerTick

      public void containerTick()
      Setzt außer Kraft:
      containerTick in Klasse net.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:
      mouseDragged in Schnittstelle net.minecraft.client.gui.components.events.ContainerEventHandler
      Angegeben von:
      mouseDragged in Schnittstelle net.minecraft.client.gui.components.events.GuiEventListener
      Setzt außer Kraft:
      mouseDragged in Klasse net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<T extends net.minecraft.world.inventory.AbstractContainerMenu>