Class GuiTranslocator
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<ContainerItemTranslocator>
codechicken.translocators.client.gui.GuiTranslocator
- All Implemented Interfaces:
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<ContainerItemTranslocator>
public class GuiTranslocator
extends net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<ContainerItemTranslocator>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen.SnapbackDataNested 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
BACKGROUND_TEXTURE_HEIGHT, BACKGROUND_TEXTURE_WIDTH, clickedSlot, draggingItem, hoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, isSplittingStack, leftPos, menu, playerInventoryTitle, quickCraftingRemainder, quickCraftingType, quickCraftSlots, slotColor, snapbackData, titleLabelX, titleLabelY, topPosFields inherited from class net.minecraft.client.gui.screens.Screen
FADE_IN_TIME, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, renderables, screenExecutor, title, width -
Constructor Summary
ConstructorsConstructorDescriptionGuiTranslocator(ContainerItemTranslocator container, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.chat.Component title) -
Method Summary
Methods inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
addItemSlotMouseAction, checkHotbarKeyPressed, clearDraggingState, containerTick, getGuiLeft, getGuiTop, getHoveredSlot, getMenu, getSlotColor, getSlotUnderMouse, getTooltipFromContainerItem, getXSize, getYSize, handleSlotStateChanged, hasClickedOutside, init, isHovering, isHovering, isInGameUi, isPauseScreen, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, onClose, recalculateQuickCraftRemaining, removed, renderBackground, renderCarriedItem, renderContents, renderFloatingItem, renderLabels, renderSlot, renderSlotContents, renderSlots, renderSnapbackItem, renderTooltip, showTooltipWithItemInHand, slotClicked, tickMethods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, canInterruptWithAnotherScreen, changeFocus, children, clearFocus, clearWidgets, clickCommandAction, clickUrlAction, defaultHandleClickEvent, defaultHandleGameClickEvent, fadeWidgets, fillCrashDetails, findNarratableWidget, getBackgroundMusic, getFont, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleDelayedNarration, init, insertText, isAllowedInPortal, isMouseOver, isValidCharacterForName, onFilesDrop, panoramaShouldSpin, rebuildWidgets, removeWidget, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltipAndSubtitles, repositionElements, resize, setInitialFocus, setInitialFocus, shouldCloseOnEsc, shouldNarrateNavigation, showsActiveEffects, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatusMethods 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
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
GuiTranslocator
public GuiTranslocator(ContainerItemTranslocator container, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.chat.Component title)
-
-
Method Details
-
render
public void render(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks) - Specified by:
renderin interfacenet.minecraft.client.gui.components.Renderable- Overrides:
renderin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<ContainerItemTranslocator>
-
renderBg
protected void renderBg(net.minecraft.client.gui.GuiGraphics graphics, float f, int i, int j) - Specified by:
renderBgin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<ContainerItemTranslocator>
-