public class EnchantmentScreen extends ContainerScreen<EnchantmentContainer>
| Modifier and Type | Field and Description |
|---|---|
private static ResourceLocation |
ENCHANTMENT_TABLE_BOOK_TEXTURE |
private static ResourceLocation |
ENCHANTMENT_TABLE_GUI_TEXTURE |
float |
flip |
float |
flipA |
float |
flipT |
private ItemStack |
last |
private static BookModel |
MODEL_BOOK |
float |
oFlip |
float |
oOpen |
float |
open |
private java.util.Random |
random |
int |
ticks |
container, dragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, playerInventory, slotColor, xSize, ySizebuttons, children, font, height, itemRenderer, minecraft, passEvents, title, widthBACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION| Constructor and Description |
|---|
EnchantmentScreen(EnchantmentContainer p_i51090_1_,
PlayerInventory p_i51090_2_,
ITextComponent p_i51090_3_) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
void |
tick() |
void |
tickBook() |
func_195363_d, getContainer, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, init, isPauseScreen, isPointInRegion, keyPressed, mouseDragged, mouseReleased, removed, renderHoveredToolTip, shouldCloseOnEscaddButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setSize, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseScrolled, setFocusedDefaultmouseMovedprivate static final ResourceLocation ENCHANTMENT_TABLE_GUI_TEXTURE
private static final ResourceLocation ENCHANTMENT_TABLE_BOOK_TEXTURE
private static final BookModel MODEL_BOOK
private final java.util.Random random
public int ticks
public float flip
public float oFlip
public float flipT
public float flipA
public float open
public float oOpen
private ItemStack last
public EnchantmentScreen(EnchantmentContainer p_i51090_1_, PlayerInventory p_i51090_2_, ITextComponent p_i51090_3_)
protected void drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
drawGuiContainerForegroundLayer in class ContainerScreen<EnchantmentContainer>public void tick()
tick in class ContainerScreen<EnchantmentContainer>public boolean mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_)
mouseClicked in interface IGuiEventListenermouseClicked in interface INestedGuiEventHandlermouseClicked in class ContainerScreen<EnchantmentContainer>protected void drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
drawGuiContainerBackgroundLayer in class ContainerScreen<EnchantmentContainer>public void render(int p_render_1_,
int p_render_2_,
float p_render_3_)
render in interface IRenderablerender in class ContainerScreen<EnchantmentContainer>public void tickBook()