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 official fcf
intermediary net/minecraft/class_8898
named net/minecraft/client/gui/screen/ingame/CrafterScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Identifier
private final PlayerEntity
private static final Identifier
private static final Identifier
private static final Text
private static final Identifier
Fields inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
BACKGROUND_TEXTURE, backgroundHeight, backgroundWidth, cursorDragging, cursorDragSlots, field_32322, focusedSlot, handler, playerInventoryTitle, playerInventoryTitleX, playerInventoryTitleY, titleX, titleY, x, y
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, width
Fields 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 void
drawArrowTexture
(DrawContext context) protected void
drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) private void
drawDisabledSlot
(DrawContext context, CrafterInputSlot slot) void
drawSlot
(DrawContext context, Slot slot) protected void
init()
Called when a screen should be initialized.private void
method_54797
(int int2) private void
method_54798
(int int2, boolean bool) private void
method_54799
(int int2) protected void
onMouseClick
(Slot slot, int slotId, int button, SlotActionType actionType) void
render
(DrawContext context, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
close, drawForeground, drawMouseoverTooltip, drawSlotHighlight, endTouchDrag, getScreenHandler, getTooltipFromItem, handledScreenTick, handleHotbarKeyPressed, isClickOutsideBounds, isPointWithinBounds, keyPressed, mouseClicked, mouseDragged, mouseReleased, onSlotChangedState, removed, renderBackground, shouldPause, tick
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackgroundTexture, renderInGameBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, switchFocus, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseScrolled, setFocused
-
Field Details
-
DISABLED_SLOT_TEXTURE
- Mappings:
Namespace Name Mixin selector official x
Lfcf;x:Lagi;
intermediary field_46882
Lnet/minecraft/class_8898;field_46882:Lnet/minecraft/class_2960;
named DISABLED_SLOT_TEXTURE
Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;DISABLED_SLOT_TEXTURE:Lnet/minecraft/util/Identifier;
-
POWERED_REDSTONE_TEXTURE
- Mappings:
Namespace Name Mixin selector official y
Lfcf;y:Lagi;
intermediary field_46883
Lnet/minecraft/class_8898;field_46883:Lnet/minecraft/class_2960;
named POWERED_REDSTONE_TEXTURE
Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;POWERED_REDSTONE_TEXTURE:Lnet/minecraft/util/Identifier;
-
UNPOWERED_REDSTONE_TEXTURE
- Mappings:
Namespace Name Mixin selector official z
Lfcf;z:Lagi;
intermediary field_46884
Lnet/minecraft/class_8898;field_46884:Lnet/minecraft/class_2960;
named UNPOWERED_REDSTONE_TEXTURE
Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;UNPOWERED_REDSTONE_TEXTURE:Lnet/minecraft/util/Identifier;
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official A
Lfcf;A:Lagi;
intermediary field_46879
Lnet/minecraft/class_8898;field_46879:Lnet/minecraft/class_2960;
named TEXTURE
Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;TEXTURE:Lnet/minecraft/util/Identifier;
-
TOGGLEABLE_SLOT_TEXT
- Mappings:
Namespace Name Mixin selector official B
Lfcf;B:Lur;
intermediary field_46880
Lnet/minecraft/class_8898;field_46880:Lnet/minecraft/class_2561;
named TOGGLEABLE_SLOT_TEXT
Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;TOGGLEABLE_SLOT_TEXT:Lnet/minecraft/text/Text;
-
player
- Mappings:
Namespace Name Mixin selector official C
Lfcf;C:Lcdu;
intermediary field_46881
Lnet/minecraft/class_8898;field_46881:Lnet/minecraft/class_1657;
named player
Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;player:Lnet/minecraft/entity/player/PlayerEntity;
-
-
Constructor Details
-
CrafterScreen
- Mappings:
Namespace Name Mixin selector official <init>
Lfcf;<init>(Lcha;Lcdt;Lur;)V
intermediary <init>
Lnet/minecraft/class_8898;<init>(Lnet/minecraft/class_8881;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)V
named <init>
Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;<init>(Lnet/minecraft/screen/CrafterScreenHandler;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/text/Text;)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.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)
to set the element that is initially focused.- Overrides:
init
in classHandledScreen<CrafterScreenHandler>
- Mappings:
Namespace Name Mixin selector official aP_
Lfau;aP_()V
intermediary method_25426
Lnet/minecraft/class_437;method_25426()V
named init
Lnet/minecraft/client/gui/screen/Screen;init()V
-
onMouseClick
- Overrides:
onMouseClick
in classHandledScreen<CrafterScreenHandler>
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lfbt;a(Lcih;IILcgv;)V
intermediary method_2383
Lnet/minecraft/class_465;method_2383(Lnet/minecraft/class_1735;IILnet/minecraft/class_1713;)V
named onMouseClick
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(Lnet/minecraft/screen/slot/Slot;IILnet/minecraft/screen/slot/SlotActionType;)V
-
method_54797
private void method_54797(int int2) - Mappings:
Namespace Name Mixin selector official a
Lfcf;a(I)V
intermediary method_54797
Lnet/minecraft/class_8898;method_54797(I)V
named method_54797
Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;method_54797(I)V
-
method_54799
private void method_54799(int int2) - Mappings:
Namespace Name Mixin selector official b
Lfcf;b(I)V
intermediary method_54799
Lnet/minecraft/class_8898;method_54799(I)V
named method_54799
Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;method_54799(I)V
-
method_54798
private void method_54798(int int2, boolean bool) - Mappings:
Namespace Name Mixin selector official a
Lfcf;a(IZ)V
intermediary method_54798
Lnet/minecraft/class_8898;method_54798(IZ)V
named method_54798
Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;method_54798(IZ)V
-
drawSlot
- Overrides:
drawSlot
in classHandledScreen<CrafterScreenHandler>
- Mappings:
Namespace Name Mixin selector official a
Lfbt;a(Leuo;Lcih;)V
intermediary method_2385
Lnet/minecraft/class_465;method_2385(Lnet/minecraft/class_332;Lnet/minecraft/class_1735;)V
named drawSlot
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlot(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/screen/slot/Slot;)V
-
drawDisabledSlot
- Mappings:
Namespace Name Mixin selector official a
Lfcf;a(Leuo;Lchb;)V
intermediary method_54591
Lnet/minecraft/class_8898;method_54591(Lnet/minecraft/class_332;Lnet/minecraft/class_8882;)V
named drawDisabledSlot
Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;drawDisabledSlot(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/screen/slot/CrafterInputSlot;)V
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classHandledScreen<CrafterScreenHandler>
- Mappings:
Namespace Name Mixin selector official a
Lewc;a(Leuo;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
drawArrowTexture
- Mappings:
Namespace Name Mixin selector official c
Lfcf;c(Leuo;)V
intermediary method_54592
Lnet/minecraft/class_8898;method_54592(Lnet/minecraft/class_332;)V
named drawArrowTexture
Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;drawArrowTexture(Lnet/minecraft/client/gui/DrawContext;)V
-
drawBackground
- Specified by:
drawBackground
in classHandledScreen<CrafterScreenHandler>
- Mappings:
Namespace Name Mixin selector official a
Lfbt;a(Leuo;FII)V
intermediary method_2389
Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)V
named drawBackground
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)V
-