Class CrafterScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.HandledScreen<CrafterScreenHandler>
net.minecraft.client.gui.screen.ingame.CrafterScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement,ScreenHandlerProvider<CrafterScreenHandler>
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/ingame/CrafterScreenintermediary net/minecraft/class_8898official gas
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Identifierprivate final PlayerEntityprivate static final Identifierprivate static final Identifierprivate static final Textprivate static final IdentifierFields inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
BACKGROUND_TEXTURE, backgroundHeight, backgroundWidth, cursorDragging, cursorDragSlots, field_32322, field_52802, field_52803, focusedSlot, handler, playerInventoryTitle, playerInventoryTitleX, playerInventoryTitleY, titleX, titleY, x, yFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionCrafterScreen(CrafterScreenHandler handler, PlayerInventory playerInventory, Text title) -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddisableSlot(int slotId) private voiddrawArrowTexture(DrawContext context) protected voiddrawBackground(DrawContext context, float deltaTicks, int mouseX, int mouseY) private voiddrawDisabledSlot(DrawContext context, CrafterInputSlot slot) voiddrawSlot(DrawContext context, Slot slot) private voidenableSlot(int slotId) protected voidinit()Called when a screen should be initialized.protected voidonMouseClick(Slot slot, int slotId, int button, SlotActionType actionType) voidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) private voidsetSlotEnabled(int slotId, boolean enabled) Methods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
addTooltipSubmenuHandler, close, drawForeground, drawMouseoverTooltip, drawSlots, endTouchDrag, getScreenHandler, getTooltipFromItem, handledScreenTick, handleHotbarKeyPressed, isClickOutsideBounds, isPointWithinBounds, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, onMouseClick, onSlotChangedState, removed, renderBackground, shouldPause, tickMethods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, switchFocus, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
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.Element
getBorder, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, setFocused
-
Field Details
-
DISABLED_SLOT_TEXTURE
- Mappings:
Namespace Name Mixin selector named DISABLED_SLOT_TEXTURELnet/minecraft/client/gui/screen/ingame/CrafterScreen;DISABLED_SLOT_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_46882Lnet/minecraft/class_8898;field_46882:Lnet/minecraft/class_2960;official GLgas;G:Lalr;
-
POWERED_REDSTONE_TEXTURE
- Mappings:
Namespace Name Mixin selector named POWERED_REDSTONE_TEXTURELnet/minecraft/client/gui/screen/ingame/CrafterScreen;POWERED_REDSTONE_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_46883Lnet/minecraft/class_8898;field_46883:Lnet/minecraft/class_2960;official HLgas;H:Lalr;
-
UNPOWERED_REDSTONE_TEXTURE
- Mappings:
Namespace Name Mixin selector named UNPOWERED_REDSTONE_TEXTURELnet/minecraft/client/gui/screen/ingame/CrafterScreen;UNPOWERED_REDSTONE_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_46884Lnet/minecraft/class_8898;field_46884:Lnet/minecraft/class_2960;official ILgas;I:Lalr;
-
TEXTURE
- Mappings:
Namespace Name Mixin selector named TEXTURELnet/minecraft/client/gui/screen/ingame/CrafterScreen;TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_46879Lnet/minecraft/class_8898;field_46879:Lnet/minecraft/class_2960;official JLgas;J:Lalr;
-
TOGGLEABLE_SLOT_TEXT
- Mappings:
Namespace Name Mixin selector named TOGGLEABLE_SLOT_TEXTLnet/minecraft/client/gui/screen/ingame/CrafterScreen;TOGGLEABLE_SLOT_TEXT:Lnet/minecraft/text/Text;intermediary field_46880Lnet/minecraft/class_8898;field_46880:Lnet/minecraft/class_2561;official KLgas;K:Lxg;
-
player
- Mappings:
Namespace Name Mixin selector named playerLnet/minecraft/client/gui/screen/ingame/CrafterScreen;player:Lnet/minecraft/entity/player/PlayerEntity;intermediary field_46881Lnet/minecraft/class_8898;field_46881:Lnet/minecraft/class_1657;official LLgas;L:Lcsi;
-
-
Constructor Details
-
CrafterScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;<init>(Lnet/minecraft/screen/CrafterScreenHandler;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/text/Text;)Vintermediary <init>Lnet/minecraft/class_8898;<init>(Lnet/minecraft/class_8881;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)Vofficial <init>Lgas;<init>(Lcwr;Lcsh;Lxg;)V
-
-
Method Details
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
- Overrides:
initin classHandledScreen<CrafterScreenHandler>- Mappings:
Namespace Name Mixin selector named initLnet/minecraft/client/gui/screen/Screen;init()Vintermediary method_25426Lnet/minecraft/class_437;method_25426()Vofficial aO_Lfzq;aO_()V
-
onMouseClick
- Overrides:
onMouseClickin classHandledScreen<CrafterScreenHandler>- See Also:
- Mappings:
Namespace Name Mixin selector named onMouseClickLnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(Lnet/minecraft/screen/slot/Slot;IILnet/minecraft/screen/slot/SlotActionType;)Vintermediary method_2383Lnet/minecraft/class_465;method_2383(Lnet/minecraft/class_1735;IILnet/minecraft/class_1713;)Vofficial aLgaf;a(Lcxz;IILcwm;)V
-
enableSlot
private void enableSlot(int slotId) - Mappings:
Namespace Name Mixin selector named enableSlotLnet/minecraft/client/gui/screen/ingame/CrafterScreen;enableSlot(I)Vintermediary method_54797Lnet/minecraft/class_8898;method_54797(I)Vofficial aLgas;a(I)V
-
disableSlot
private void disableSlot(int slotId) - Mappings:
Namespace Name Mixin selector named disableSlotLnet/minecraft/client/gui/screen/ingame/CrafterScreen;disableSlot(I)Vintermediary method_54799Lnet/minecraft/class_8898;method_54799(I)Vofficial bLgas;b(I)V
-
setSlotEnabled
private void setSlotEnabled(int slotId, boolean enabled) - Mappings:
Namespace Name Mixin selector named setSlotEnabledLnet/minecraft/client/gui/screen/ingame/CrafterScreen;setSlotEnabled(IZ)Vintermediary method_54798Lnet/minecraft/class_8898;method_54798(IZ)Vofficial aLgas;a(IZ)V
-
drawSlot
- Overrides:
drawSlotin classHandledScreen<CrafterScreenHandler>- Mappings:
Namespace Name Mixin selector named drawSlotLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlot(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/screen/slot/Slot;)Vintermediary method_2385Lnet/minecraft/class_465;method_2385(Lnet/minecraft/class_332;Lnet/minecraft/class_1735;)Vofficial aLgaf;a(Lftk;Lcxz;)V
-
drawDisabledSlot
- Mappings:
Namespace Name Mixin selector named drawDisabledSlotLnet/minecraft/client/gui/screen/ingame/CrafterScreen;drawDisabledSlot(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/screen/slot/CrafterInputSlot;)Vintermediary method_54591Lnet/minecraft/class_8898;method_54591(Lnet/minecraft/class_332;Lnet/minecraft/class_8882;)Vofficial aLgas;a(Lftk;Lcws;)V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classHandledScreen<CrafterScreenHandler>- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLfvb;a(Lftk;IIF)V
-
drawArrowTexture
- Mappings:
Namespace Name Mixin selector named drawArrowTextureLnet/minecraft/client/gui/screen/ingame/CrafterScreen;drawArrowTexture(Lnet/minecraft/client/gui/DrawContext;)Vintermediary method_54592Lnet/minecraft/class_8898;method_54592(Lnet/minecraft/class_332;)Vofficial dLgas;d(Lftk;)V
-
drawBackground
- Specified by:
drawBackgroundin classHandledScreen<CrafterScreenHandler>- Mappings:
Namespace Name Mixin selector named drawBackgroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)Vintermediary method_2389Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)Vofficial aLgaf;a(Lftk;FII)V
-