Class ArcaneWorkbenchScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<ArcaneWorkbenchMenu>
com.binaris.wizardry.client.gui.screens.ArcaneWorkbenchScreen
- 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<ArcaneWorkbenchMenu>
public class ArcaneWorkbenchScreen
extends net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<ArcaneWorkbenchMenu>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.Screen.NarratableSearchResult -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final net.minecraft.resources.ResourceLocationstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
hoveredSlot, imageHeight, imageWidth, INVENTORY_LOCATION, inventoryLabelX, inventoryLabelY, isQuickCrafting, leftPos, playerInventoryTitle, quickCraftSlots, SLOT_ITEM_BLIT_OFFSET, titleLabelX, titleLabelY, topPosFields inherited from class net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, font, height, minecraft, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsConstructorDescriptionArcaneWorkbenchScreen(ArcaneWorkbenchMenu menu, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.chat.Component name) -
Method Summary
Modifier and TypeMethodDescriptionprotected void@NotNull ArcaneWorkbenchMenugetMenu()protected voidinit()voidrender(@NotNull net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) protected voidrenderBg(@NotNull net.minecraft.client.gui.GuiGraphics guiGraphics, float partialTick, int mouseX, int mouseY) protected voidrenderLabels(@NotNull net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY) Methods inherited from class net.minecraft.client.gui.screens.inventory.AbstractContainerScreen
checkHotbarKeyPressed, clearDraggingState, getTooltipFromContainerItem, hasClickedOutside, isHovering, isPauseScreen, keyPressed, mouseClicked, mouseDragged, mouseReleased, onClose, removed, renderSlotHighlight, renderTooltip, slotClicked, tickMethods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearWidgets, findNarratableWidget, getBackgroundMusic, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrationEnabled, onFilesDrop, rebuildWidgets, removeWidget, renderBackground, renderDirtBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods 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, magicalSpecialHackyFocus, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
MAIN_GUI_WIDTH
public static final int MAIN_GUI_WIDTH- See Also:
-
RUNE_LEFT
public static final int RUNE_LEFT- See Also:
-
RUNE_TOP
public static final int RUNE_TOP- See Also:
-
RUNE_WIDTH
public static final int RUNE_WIDTH- See Also:
-
RUNE_HEIGHT
public static final int RUNE_HEIGHT- See Also:
-
HALO_DIAMETER
public static final int HALO_DIAMETER- See Also:
-
TEXTURE_WIDTH
public static final int TEXTURE_WIDTH- See Also:
-
TEXTURE_HEIGHT
public static final int TEXTURE_HEIGHT- See Also:
-
TOOLTIP_WIDTH
public static final int TOOLTIP_WIDTH- See Also:
-
TOOLTIP_BORDER
public static final int TOOLTIP_BORDER- See Also:
-
PROGRESSION_BAR_WIDTH
public static final int PROGRESSION_BAR_WIDTH- See Also:
-
PROGRESSION_BAR_HEIGHT
public static final int PROGRESSION_BAR_HEIGHT- See Also:
-
ARCANE_WORKBENCH_CONTAINER_TEXTURE
public static final net.minecraft.resources.ResourceLocation ARCANE_WORKBENCH_CONTAINER_TEXTURE -
LINE_SPACING_WIDE
public static final int LINE_SPACING_WIDE- See Also:
-
LINE_SPACING_NARROW
public static final int LINE_SPACING_NARROW- See Also:
-
ANIMATION_DURATION
public static final int ANIMATION_DURATION- See Also:
-
-
Constructor Details
-
Method Details
-
init
protected void init()- Overrides:
initin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<ArcaneWorkbenchMenu>
-
render
public void render(@NotNull @NotNull net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) - Specified by:
renderin interfacenet.minecraft.client.gui.components.Renderable- Overrides:
renderin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<ArcaneWorkbenchMenu>
-
renderBg
protected void renderBg(@NotNull @NotNull net.minecraft.client.gui.GuiGraphics guiGraphics, float partialTick, int mouseX, int mouseY) - Specified by:
renderBgin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<ArcaneWorkbenchMenu>
-
renderLabels
protected void renderLabels(@NotNull @NotNull net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY) - Overrides:
renderLabelsin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<ArcaneWorkbenchMenu>
-
containerTick
protected void containerTick()- Overrides:
containerTickin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<ArcaneWorkbenchMenu>
-
getMenu
- Specified by:
getMenuin interfacenet.minecraft.client.gui.screens.inventory.MenuAccess<ArcaneWorkbenchMenu>- Overrides:
getMenuin classnet.minecraft.client.gui.screens.inventory.AbstractContainerScreen<ArcaneWorkbenchMenu>
-