Class PoisonousPotatoCutterScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.HandledScreen<PoisonousPotatoCutterScreenHandler>
net.minecraft.client.gui.screen.ingame.PoisonousPotatoCutterScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement,ScreenHandlerProvider<PoisonousPotatoCutterScreenHandler>
@Environment(CLIENT)
public class PoisonousPotatoCutterScreen
extends HandledScreen<PoisonousPotatoCutterScreenHandler>
- Mappings:
Namespace Name official fqxintermediary net/minecraft/class_9608named net/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate static final intprivate static final intprivate static final Identifierprivate static final intprivate static final intprivate static final intprivate static final intprivate static final Identifierprivate static final Identifierprivate floatprivate static final intprivate static final intprivate static final intprivate static final Identifierprivate static final Identifierprivate intprivate 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
ConstructorsConstructorDescriptionPoisonousPotatoCutterScreen(PoisonousPotatoCutterScreenHandler handler, PlayerInventory inventory, Text title) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddrawBackground(DrawContext context, float delta, int mouseX, int mouseY) protected voiddrawMouseoverTooltip(DrawContext context, int x, int y) protected intbooleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.booleanmouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured.booleanmouseScrolled(double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Callback for when a mouse button scroll event has been captured.private voidvoidrender(DrawContext context, int mouseX, int mouseY, float delta) private voidrenderRecipeBackground(DrawContext context, int mouseX, int mouseY, int x, int y, int scrollOffset) private voidrenderRecipeIcons(DrawContext context, int x, int y, int scrollOffset) private booleanMethods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
close, drawForeground, drawItem, drawItem, drawSlot, drawSlotHighlight, endTouchDrag, getScreenHandler, getTooltipFromItem, handledScreenTick, handleHotbarKeyPressed, init, isClickOutsideBounds, isPointWithinBounds, keyPressed, 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, getTitle, 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, setFocused
-
Field Details
-
SCROLLER_TEXTURE
- Mappings:
Namespace Name Mixin selector official DLfqx;D:Lakt;intermediary field_51106Lnet/minecraft/class_9608;field_51106:Lnet/minecraft/class_2960;named SCROLLER_TEXTURELnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;SCROLLER_TEXTURE:Lnet/minecraft/util/Identifier;
-
SCROLLER_DISABLED_TEXTURE
- Mappings:
Namespace Name Mixin selector official ELfqx;E:Lakt;intermediary field_51107Lnet/minecraft/class_9608;field_51107:Lnet/minecraft/class_2960;named SCROLLER_DISABLED_TEXTURELnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;SCROLLER_DISABLED_TEXTURE:Lnet/minecraft/util/Identifier;
-
RECIPE_SELECTED_TEXTURE
- Mappings:
Namespace Name Mixin selector official FLfqx;F:Lakt;intermediary field_51108Lnet/minecraft/class_9608;field_51108:Lnet/minecraft/class_2960;named RECIPE_SELECTED_TEXTURELnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;RECIPE_SELECTED_TEXTURE:Lnet/minecraft/util/Identifier;
-
RECIPE_HIGHLIGHTED_TEXTURE
- Mappings:
Namespace Name Mixin selector official GLfqx;G:Lakt;intermediary field_51109Lnet/minecraft/class_9608;field_51109:Lnet/minecraft/class_2960;named RECIPE_HIGHLIGHTED_TEXTURELnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;RECIPE_HIGHLIGHTED_TEXTURE:Lnet/minecraft/util/Identifier;
-
RECIPE_TEXTURE
- Mappings:
Namespace Name Mixin selector official HLfqx;H:Lakt;intermediary field_51110Lnet/minecraft/class_9608;field_51110:Lnet/minecraft/class_2960;named RECIPE_TEXTURELnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;RECIPE_TEXTURE:Lnet/minecraft/util/Identifier;
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official ILfqx;I:Lakt;intermediary field_51111Lnet/minecraft/class_9608;field_51111:Lnet/minecraft/class_2960;named TEXTURELnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;TEXTURE:Lnet/minecraft/util/Identifier;
-
SCROLLBAR_WIDTH
private static final int SCROLLBAR_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official JLfqx;J:Iintermediary field_51112Lnet/minecraft/class_9608;field_51112:Inamed SCROLLBAR_WIDTHLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;SCROLLBAR_WIDTH:I
-
SCROLLBAR_HEIGHT
private static final int SCROLLBAR_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official KLfqx;K:Iintermediary field_51113Lnet/minecraft/class_9608;field_51113:Inamed SCROLLBAR_HEIGHTLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;SCROLLBAR_HEIGHT:I
-
RECIPE_LIST_COLUMNS
private static final int RECIPE_LIST_COLUMNS- See Also:
- Mappings:
Namespace Name Mixin selector official LLfqx;L:Iintermediary field_51114Lnet/minecraft/class_9608;field_51114:Inamed RECIPE_LIST_COLUMNSLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;RECIPE_LIST_COLUMNS:I
-
RECIPE_LIST_ROWS
private static final int RECIPE_LIST_ROWS- See Also:
- Mappings:
Namespace Name Mixin selector official MLfqx;M:Iintermediary field_51115Lnet/minecraft/class_9608;field_51115:Inamed RECIPE_LIST_ROWSLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;RECIPE_LIST_ROWS:I
-
RECIPE_ENTRY_WIDTH
private static final int RECIPE_ENTRY_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official NLfqx;N:Iintermediary field_51116Lnet/minecraft/class_9608;field_51116:Inamed RECIPE_ENTRY_WIDTHLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;RECIPE_ENTRY_WIDTH:I
-
RECIPE_ENTRY_HEIGHT
private static final int RECIPE_ENTRY_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official OLfqx;O:Iintermediary field_51117Lnet/minecraft/class_9608;field_51117:Inamed RECIPE_ENTRY_HEIGHTLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;RECIPE_ENTRY_HEIGHT:I
-
SCROLLBAR_AREA_HEIGHT
private static final int SCROLLBAR_AREA_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official PLfqx;P:Iintermediary field_51118Lnet/minecraft/class_9608;field_51118:Inamed SCROLLBAR_AREA_HEIGHTLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;SCROLLBAR_AREA_HEIGHT:I
-
RECIPE_LIST_OFFSET_X
private static final int RECIPE_LIST_OFFSET_X- See Also:
- Mappings:
Namespace Name Mixin selector official QLfqx;Q:Iintermediary field_51119Lnet/minecraft/class_9608;field_51119:Inamed RECIPE_LIST_OFFSET_XLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;RECIPE_LIST_OFFSET_X:I
-
RECIPE_LIST_OFFSET_Y
private static final int RECIPE_LIST_OFFSET_Y- See Also:
- Mappings:
Namespace Name Mixin selector official RLfqx;R:Iintermediary field_51120Lnet/minecraft/class_9608;field_51120:Inamed RECIPE_LIST_OFFSET_YLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;RECIPE_LIST_OFFSET_Y:I
-
scrollAmount
private float scrollAmount- Mappings:
Namespace Name Mixin selector official SLfqx;S:Fintermediary field_51121Lnet/minecraft/class_9608;field_51121:Fnamed scrollAmountLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;scrollAmount:F
-
mouseClicked
private boolean mouseClicked- Mappings:
Namespace Name Mixin selector official TLfqx;T:Zintermediary field_51122Lnet/minecraft/class_9608;field_51122:Znamed mouseClickedLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;mouseClicked:Z
-
scrollOffset
private int scrollOffset- Mappings:
Namespace Name Mixin selector official ULfqx;U:Iintermediary field_51123Lnet/minecraft/class_9608;field_51123:Inamed scrollOffsetLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;scrollOffset:I
-
canCraft
private boolean canCraft- Mappings:
Namespace Name Mixin selector official VLfqx;V:Zintermediary field_51124Lnet/minecraft/class_9608;field_51124:Znamed canCraftLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;canCraft:Z
-
-
Constructor Details
-
PoisonousPotatoCutterScreen
public PoisonousPotatoCutterScreen(PoisonousPotatoCutterScreenHandler handler, PlayerInventory inventory, Text title) - Mappings:
Namespace Name Mixin selector official <init>Lfqx;<init>(Lcqu;Lclx;Lxe;)Vintermediary <init>Lnet/minecraft/class_9608;<init>(Lnet/minecraft/class_9521;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;<init>(Lnet/minecraft/screen/PoisonousPotatoCutterScreenHandler;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/text/Text;)V
-
-
Method Details
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classHandledScreen<PoisonousPotatoCutterScreenHandler>- 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
-
drawBackground
- Specified by:
drawBackgroundin classHandledScreen<PoisonousPotatoCutterScreenHandler>- 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
-
drawMouseoverTooltip
- Overrides:
drawMouseoverTooltipin classHandledScreen<PoisonousPotatoCutterScreenHandler>- Mappings:
Namespace Name Mixin selector official aLfpn;a(Lfia;II)Vintermediary method_2380Lnet/minecraft/class_465;method_2380(Lnet/minecraft/class_332;II)Vnamed drawMouseoverTooltipLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawMouseoverTooltip(Lnet/minecraft/client/gui/DrawContext;II)V
-
renderRecipeBackground
private void renderRecipeBackground(DrawContext context, int mouseX, int mouseY, int x, int y, int scrollOffset) - Mappings:
Namespace Name Mixin selector official aLfqx;a(Lfia;IIIII)Vintermediary method_59341Lnet/minecraft/class_9608;method_59341(Lnet/minecraft/class_332;IIIII)Vnamed renderRecipeBackgroundLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;renderRecipeBackground(Lnet/minecraft/client/gui/DrawContext;IIIII)V
-
renderRecipeIcons
- Mappings:
Namespace Name Mixin selector official bLfqx;b(Lfia;III)Vintermediary method_59342Lnet/minecraft/class_9608;method_59342(Lnet/minecraft/class_332;III)Vnamed renderRecipeIconsLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;renderRecipeIcons(Lnet/minecraft/client/gui/DrawContext;III)V
-
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
mouseClickedin interfaceElement- Specified by:
mouseClickedin interfaceParentElement- Overrides:
mouseClickedin classHandledScreen<PoisonousPotatoCutterScreenHandler>- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLfkj;a(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Znamed mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
-
mouseDragged
public boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
mouseDraggedin interfaceElement- Specified by:
mouseDraggedin interfaceParentElement- Overrides:
mouseDraggedin classHandledScreen<PoisonousPotatoCutterScreenHandler>- Parameters:
mouseX- the current X coordinate of the mousemouseY- the current Y coordinate of the mousebutton- the mouse button numberdeltaX- the difference of the current X with the previous X coordinatedeltaY- the difference of the current Y with the previous Y coordinate- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLfkj;a(DDIDD)Zintermediary method_25403Lnet/minecraft/class_364;method_25403(DDIDD)Znamed mouseDraggedLnet/minecraft/client/gui/Element;mouseDragged(DDIDD)Z
-
mouseScrolled
public boolean mouseScrolled(double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Callback for when a mouse button scroll event has been captured.- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousehorizontalAmount- the horizontal scroll amountverticalAmount- the vertical scroll amount- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLfkj;a(DDDD)Zintermediary method_25401Lnet/minecraft/class_364;method_25401(DDDD)Znamed mouseScrolledLnet/minecraft/client/gui/Element;mouseScrolled(DDDD)Z
-
shouldScroll
private boolean shouldScroll()- Mappings:
Namespace Name Mixin selector official FLfqx;F()Zintermediary method_59339Lnet/minecraft/class_9608;method_59339()Znamed shouldScrollLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;shouldScroll()Z
-
getMaxScroll
protected int getMaxScroll()- Mappings:
Namespace Name Mixin selector official ELfqx;E()Iintermediary method_59338Lnet/minecraft/class_9608;method_59338()Inamed getMaxScrollLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;getMaxScroll()I
-
onInventoryChange
private void onInventoryChange()- Mappings:
Namespace Name Mixin selector official ILfqx;I()Vintermediary method_59340Lnet/minecraft/class_9608;method_59340()Vnamed onInventoryChangeLnet/minecraft/client/gui/screen/ingame/PoisonousPotatoCutterScreen;onInventoryChange()V
-