Class FletchingScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.HandledScreen<FletchingScreenHandler>
net.minecraft.client.gui.screen.ingame.FletchingScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement,ScreenHandlerProvider<FletchingScreenHandler>
- Mappings:
Namespace Name official fqiintermediary net/minecraft/class_9607named net/minecraft/client/gui/screen/ingame/FletchingScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate final longprivate intprivate static final Identifierprivate static final IdentifierFields 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, 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, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionFletchingScreen(FletchingScreenHandler handler, PlayerInventory playerInventory, Text title) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddrawBackground(DrawContext context, float delta, int mouseX, int mouseY) getTitle()private TextgetTitleText(char impurities, char nextLevelImpurities, char quality, boolean explored) protected voidinit()Called when a screen should be initialized.voidrender(DrawContext context, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
close, drawForeground, drawItem, drawItem, drawMouseoverTooltip, drawSlot, drawSlotHighlight, endTouchDrag, getScreenHandler, getTooltipFromItem, handledScreenTick, handleHotbarKeyPressed, isClickOutsideBounds, isPointWithinBounds, keyPressed, mouseClicked, mouseDragged, mouseReleased, onMouseClick, onSlotChangedState, removed, renderBackground, shouldPause, tickMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, switchFocus, updateNarrator, wrapScreenErrorMethods 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
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, mouseScrolled, setFocused
-
Field Details
-
PROGRESS_TEXTURE
- Mappings:
Namespace Name Mixin selector official DLfqi;D:Lakt;intermediary field_51100Lnet/minecraft/class_9607;field_51100:Lnet/minecraft/class_2960;named PROGRESS_TEXTURELnet/minecraft/client/gui/screen/ingame/FletchingScreen;PROGRESS_TEXTURE:Lnet/minecraft/util/Identifier;
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official ELfqi;E:Lakt;intermediary field_51101Lnet/minecraft/class_9607;field_51101:Lnet/minecraft/class_2960;named TEXTURELnet/minecraft/client/gui/screen/ingame/FletchingScreen;TEXTURE:Lnet/minecraft/util/Identifier;
-
processTime
private int processTime- Mappings:
Namespace Name Mixin selector official FLfqi;F:Iintermediary field_51102Lnet/minecraft/class_9607;field_51102:Inamed processTimeLnet/minecraft/client/gui/screen/ingame/FletchingScreen;processTime:I
-
openTime
private final long openTime- Mappings:
Namespace Name Mixin selector official GLfqi;G:Jintermediary field_51103Lnet/minecraft/class_9607;field_51103:Jnamed openTimeLnet/minecraft/client/gui/screen/ingame/FletchingScreen;openTime:J
-
fletchingTitle
- Mappings:
Namespace Name Mixin selector official HLfqi;H:Lxe;intermediary field_51104Lnet/minecraft/class_9607;field_51104:Lnet/minecraft/class_2561;named fletchingTitleLnet/minecraft/client/gui/screen/ingame/FletchingScreen;fletchingTitle:Lnet/minecraft/text/Text;
-
explored
private boolean explored- Mappings:
Namespace Name Mixin selector official ILfqi;I:Zintermediary field_51105Lnet/minecraft/class_9607;field_51105:Znamed exploredLnet/minecraft/client/gui/screen/ingame/FletchingScreen;explored:Z
-
-
Constructor Details
-
FletchingScreen
- Mappings:
Namespace Name Mixin selector official <init>Lfqi;<init>(Lcqb;Lclx;Lxe;)Vintermediary <init>Lnet/minecraft/class_9607;<init>(Lnet/minecraft/class_9519;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/FletchingScreen;<init>(Lnet/minecraft/screen/FletchingScreenHandler;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()to set the element that is initially focused.- Overrides:
initin classHandledScreen<FletchingScreenHandler>- Mappings:
Namespace Name Mixin selector official aN_Lfon;aN_()Vintermediary method_25426Lnet/minecraft/class_437;method_25426()Vnamed initLnet/minecraft/client/gui/screen/Screen;init()V
-
getTitleText
private Text getTitleText(char impurities, char nextLevelImpurities, char quality, boolean explored) - Mappings:
Namespace Name Mixin selector official aLfqi;a(CCCZ)Lxe;intermediary method_59337Lnet/minecraft/class_9607;method_59337(CCCZ)Lnet/minecraft/class_2561;named getTitleTextLnet/minecraft/client/gui/screen/ingame/FletchingScreen;getTitleText(CCCZ)Lnet/minecraft/text/Text;
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classHandledScreen<FletchingScreenHandler>- Mappings:
Namespace Name Mixin selector official aLfjq;a(Lfia;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
getTitle
-
drawBackground
- Specified by:
drawBackgroundin classHandledScreen<FletchingScreenHandler>- Mappings:
Namespace Name Mixin selector official aLfpn;a(Lfia;FII)Vintermediary method_2389Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)Vnamed drawBackgroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)V
-