net.minecraft.client.gui.screen.ingame

public class EnchantmentScreen

extends HandledScreen<EnchantmentScreenHandler>

All mapped superinterfaces:

ParentElement, Element, Navigable, Drawable, ScreenHandlerProvider

net.minecraft.client.gui.screens.inventory.EnchantmentScreen
net.minecraft.client.gui.screens.inventory.EnchantmentScreen
net.minecraft.class_486
net.minecraft.client.gui.screen.ingame.EnchantmentScreen

Field summary

Modifier and TypeField
private static final Identifier[]
ENABLED_LEVEL_SPRITES
ENABLED_LEVEL_SPRITES
field_45464
LEVEL_TEXTURES
private static final Identifier[]
DISABLED_LEVEL_SPRITES
DISABLED_LEVEL_SPRITES
field_45465
LEVEL_DISABLED_TEXTURES
private static final Identifier
ENCHANTMENT_SLOT_DISABLED_SPRITE
ENCHANTMENT_SLOT_DISABLED_SPRITE
field_45466
ENCHANTMENT_SLOT_DISABLED_TEXTURE
private static final Identifier
ENCHANTMENT_SLOT_HIGHLIGHTED_SPRITE
ENCHANTMENT_SLOT_HIGHLIGHTED_SPRITE
field_45467
ENCHANTMENT_SLOT_HIGHLIGHTED_TEXTURE
private static final Identifier
ENCHANTMENT_SLOT_SPRITE
ENCHANTMENT_SLOT_SPRITE
field_45468
ENCHANTMENT_SLOT_TEXTURE
private static final Identifier
ENCHANTING_TABLE_LOCATION
ENCHANTING_TABLE_LOCATION
field_2910
TEXTURE
private static final Identifier
ENCHANTING_BOOK_LOCATION
ENCHANTING_BOOK_LOCATION
field_2901
BOOK_TEXTURE
private final Random
random
random
field_2911
random
private BookModel
bookModel
bookModel
field_2908
BOOK_MODEL
public float
flip
flip
field_2912
nextPageAngle
public float
oFlip
oFlip
field_2914
pageAngle
public float
flipT
flipT
field_2909
approximatePageAngle
public float
flipA
flipA
field_2906
pageRotationSpeed
public float
open
open
field_2905
nextPageTurningSpeed
public float
oOpen
oOpen
field_2904
pageTurningSpeed
private ItemStack
last
last
field_2913
stack

Constructor summary

ModifierConstructor
public (EnchantmentScreenHandler handler, PlayerInventory inventory, Text title)

Method summary

Modifier and TypeMethod
protected void
init()
init()
method_25426()
init()
public void
containerTick()
containerTick()
method_37432()
handledScreenTick()
public boolean
mouseClicked(MouseButtonEvent event, boolean doubleClick)
mouseClicked(MouseButtonEvent event, boolean doubleClick)
method_25402(class_11909 arg0, boolean arg1)
mouseClicked(Click arg0, boolean arg1)
public void
extractBackground(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
extractBackground(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_25420(class_332 arg0, int arg1, int arg2, float arg3)
renderBackground(DrawContext arg0, int arg1, int arg2, float arg3)
private void
extractBook(GuiGraphicsExtractor graphics, int left, int top)
extractBook(GuiGraphicsExtractor graphics, int left, int top)
method_52223(class_332 arg0, int arg1, int arg2)
drawBook(DrawContext context, int x, int y)
public void
extractRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float ignored)
extractRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float ignored)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
public void
tickBook()
tickBook()
method_2478()
doTick()