net.minecraft.client.gui.widget

public class PageTurnWidget

extends ButtonWidget

All mapped superinterfaces:

Widget, Drawable, Element, Navigable, Selectable, Narratable

net.minecraft.client.gui.screens.inventory.PageButton
net.minecraft.class_474
net.minecraft.client.gui.widget.PageTurnWidget

Field summary

Modifier and TypeField
private static final Identifier
PAGE_FORWARD_HIGHLIGHTED_SPRITE
field_45493
PAGE_FORWARD_HIGHLIGHTED_TEXTURE
private static final Identifier
PAGE_FORWARD_SPRITE
field_45494
PAGE_FORWARD_TEXTURE
private static final Identifier
PAGE_BACKWARD_HIGHLIGHTED_SPRITE
field_45495
PAGE_BACKWARD_HIGHLIGHTED_TEXTURE
private static final Identifier
PAGE_BACKWARD_SPRITE
field_45496
PAGE_BACKWARD_TEXTURE
private static final Text
PAGE_BUTTON_NEXT
field_60478
NEXT_TEXT
private static final Text
PAGE_BUTTON_PREVIOUS
field_60479
PREVIOUS_TEXT
private final boolean
isForward
field_2851
isNextPageButton
private final boolean
playTurnSound
field_18977
playPageTurnSound

Constructor summary

ModifierConstructor
public (int x, int y, boolean isNextPageButton, ButtonWidget$PressAction action, boolean playPageTurnSound)

Method summary

Modifier and TypeMethod
public void
extractContents(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_75752(class_332 arg0, int arg1, int arg2, float arg3)
drawIcon(DrawContext arg0, int arg1, int arg2, float arg3)
public void
playDownSound(SoundManager soundManager)
method_25354(class_1144 arg0)
playDownSound(SoundManager arg0)
public boolean
shouldTakeFocusAfterInteraction()
method_72784()
isClickable()