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/CrafterScreen- intermediary - net/minecraft/class_8898- official - fvo
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screen.ScreenScreen.SelectedElementNarrationData
- 
Field SummaryFieldsModifier 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.HandledScreenBACKGROUND_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.Screenclient, 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.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructorsConstructorDescriptionCrafterScreen(CrafterScreenHandler handler, PlayerInventory playerInventory, Text title) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate voiddisableSlot(int slotId) private voiddrawArrowTexture(DrawContext context) protected voiddrawBackground(DrawContext context, float delta, 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 delta) private voidsetSlotEnabled(int slotId, boolean enabled) Methods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreenaddTooltipSubmenuHandler, 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.ScreenaddCrashReportSection, 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.AbstractParentElementgetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementgetBorder, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementcharTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, setFocused
- 
Field Details- 
DISABLED_SLOT_TEXTURE- Mappings:
- Namespace - Name - Mixin selector - named - DISABLED_SLOT_TEXTURE- Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;DISABLED_SLOT_TEXTURE:Lnet/minecraft/util/Identifier;- intermediary - field_46882- Lnet/minecraft/class_8898;field_46882:Lnet/minecraft/class_2960;- official - G- Lfvo;G:Lakv;
 
- 
POWERED_REDSTONE_TEXTURE- Mappings:
- Namespace - Name - Mixin selector - named - POWERED_REDSTONE_TEXTURE- Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;POWERED_REDSTONE_TEXTURE:Lnet/minecraft/util/Identifier;- intermediary - field_46883- Lnet/minecraft/class_8898;field_46883:Lnet/minecraft/class_2960;- official - H- Lfvo;H:Lakv;
 
- 
UNPOWERED_REDSTONE_TEXTURE- Mappings:
- Namespace - Name - Mixin selector - named - UNPOWERED_REDSTONE_TEXTURE- Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;UNPOWERED_REDSTONE_TEXTURE:Lnet/minecraft/util/Identifier;- intermediary - field_46884- Lnet/minecraft/class_8898;field_46884:Lnet/minecraft/class_2960;- official - I- Lfvo;I:Lakv;
 
- 
TEXTURE- Mappings:
- Namespace - Name - Mixin selector - named - TEXTURE- Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;TEXTURE:Lnet/minecraft/util/Identifier;- intermediary - field_46879- Lnet/minecraft/class_8898;field_46879:Lnet/minecraft/class_2960;- official - J- Lfvo;J:Lakv;
 
- 
TOGGLEABLE_SLOT_TEXT- Mappings:
- Namespace - Name - Mixin selector - named - TOGGLEABLE_SLOT_TEXT- Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;TOGGLEABLE_SLOT_TEXT:Lnet/minecraft/text/Text;- intermediary - field_46880- Lnet/minecraft/class_8898;field_46880:Lnet/minecraft/class_2561;- official - K- Lfvo;K:Lwp;
 
- 
player- Mappings:
- Namespace - Name - Mixin selector - named - player- Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;player:Lnet/minecraft/entity/player/PlayerEntity;- intermediary - field_46881- Lnet/minecraft/class_8898;field_46881:Lnet/minecraft/class_1657;- official - L- Lfvo;L:Lcoy;
 
 
- 
- 
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;)V- intermediary - <init>- Lnet/minecraft/class_8898;<init>(Lnet/minecraft/class_8881;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)V- official - <init>- Lfvo;<init>(Lcst;Lcox;Lwp;)V
 
 
- 
- 
Method Details- 
initprotected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized. - Overrides:
- initin class- HandledScreen<CrafterScreenHandler>
- Mappings:
- Namespace - Name - Mixin selector - named - init- Lnet/minecraft/client/gui/screen/Screen;init()V- intermediary - method_25426- Lnet/minecraft/class_437;method_25426()V- official - aR_- Lfum;aR_()V
 
- 
onMouseClick- Overrides:
- onMouseClickin class- HandledScreen<CrafterScreenHandler>
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - onMouseClick- Lnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(Lnet/minecraft/screen/slot/Slot;IILnet/minecraft/screen/slot/SlotActionType;)V- intermediary - method_2383- Lnet/minecraft/class_465;method_2383(Lnet/minecraft/class_1735;IILnet/minecraft/class_1713;)V- official - a- Lfvb;a(Lcua;IILcso;)V
 
- 
enableSlotprivate void enableSlot(int slotId) - Mappings:
- Namespace - Name - Mixin selector - named - enableSlot- Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;enableSlot(I)V- intermediary - method_54797- Lnet/minecraft/class_8898;method_54797(I)V- official - a- Lfvo;a(I)V
 
- 
disableSlotprivate void disableSlot(int slotId) - Mappings:
- Namespace - Name - Mixin selector - named - disableSlot- Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;disableSlot(I)V- intermediary - method_54799- Lnet/minecraft/class_8898;method_54799(I)V- official - b- Lfvo;b(I)V
 
- 
setSlotEnabledprivate void setSlotEnabled(int slotId, boolean enabled) - Mappings:
- Namespace - Name - Mixin selector - named - setSlotEnabled- Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;setSlotEnabled(IZ)V- intermediary - method_54798- Lnet/minecraft/class_8898;method_54798(IZ)V- official - a- Lfvo;a(IZ)V
 
- 
drawSlot- Overrides:
- drawSlotin class- HandledScreen<CrafterScreenHandler>
- Mappings:
- Namespace - Name - Mixin selector - named - drawSlot- Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawSlot(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/screen/slot/Slot;)V- intermediary - method_2385- Lnet/minecraft/class_465;method_2385(Lnet/minecraft/class_332;Lnet/minecraft/class_1735;)V- official - a- Lfvb;a(Lfof;Lcua;)V
 
- 
drawDisabledSlot- Mappings:
- Namespace - Name - Mixin selector - named - drawDisabledSlot- Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;drawDisabledSlot(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/screen/slot/CrafterInputSlot;)V- intermediary - method_54591- Lnet/minecraft/class_8898;method_54591(Lnet/minecraft/class_332;Lnet/minecraft/class_8882;)V- official - a- Lfvo;a(Lfof;Lcsu;)V
 
- 
render- Specified by:
- renderin interface- Drawable
- Overrides:
- renderin class- HandledScreen<CrafterScreenHandler>
- Mappings:
- Namespace - Name - Mixin selector - named - render- Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V- intermediary - method_25394- Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V- official - a- Lfpx;a(Lfof;IIF)V
 
- 
drawArrowTexture- Mappings:
- Namespace - Name - Mixin selector - named - drawArrowTexture- Lnet/minecraft/client/gui/screen/ingame/CrafterScreen;drawArrowTexture(Lnet/minecraft/client/gui/DrawContext;)V- intermediary - method_54592- Lnet/minecraft/class_8898;method_54592(Lnet/minecraft/class_332;)V- official - d- Lfvo;d(Lfof;)V
 
- 
drawBackground- Specified by:
- drawBackgroundin class- HandledScreen<CrafterScreenHandler>
- Mappings:
- Namespace - Name - Mixin selector - named - drawBackground- Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)V- intermediary - method_2389- Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)V- official - a- Lfvb;a(Lfof;FII)V
 
 
-