public class InventoryScreen extends DisplayEffectsScreen<PlayerContainer> implements IRecipeShownListener
hasActivePotionEffectscontainer, dragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, playerInventory, slotColor, xSize, ySizebuttons, children, font, height, itemRenderer, minecraft, passEvents, title, widthBACKGROUND_LOCATION, blitOffset, GUI_ICONS_LOCATION, STATS_ICON_LOCATION| Constructor and Description |
|---|
InventoryScreen(PlayerEntity player) |
| Modifier and Type | Method and Description |
|---|---|
static void |
drawEntityOnScreen(int posX,
int posY,
int scale,
float mouseX,
float mouseY,
LivingEntity ent) |
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
RecipeBookGui |
func_194310_f() |
protected void |
handleMouseClick(Slot slotIn,
int slotId,
int mouseButton,
ClickType type) |
protected boolean |
hasClickedOutside(double p_195361_1_,
double p_195361_3_,
int p_195361_5_,
int p_195361_6_,
int p_195361_7_) |
protected void |
init() |
protected boolean |
isPointInRegion(int p_195359_1_,
int p_195359_2_,
int p_195359_3_,
int p_195359_4_,
double p_195359_5_,
double p_195359_7_) |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
boolean |
mouseReleased(double p_mouseReleased_1_,
double p_mouseReleased_3_,
int p_mouseReleased_5_) |
void |
recipesUpdated() |
void |
removed() |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
void |
tick() |
updateActivePotionEffectsfunc_195363_d, getContainer, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, isPauseScreen, keyPressed, mouseDragged, 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, fillGradient, hLine, innerBlit, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, func_212928_a, func_212930_a, func_212932_b, keyReleased, mouseScrolledmouseMovedpublic InventoryScreen(PlayerEntity player)
public void tick()
tick in class ContainerScreen<PlayerContainer>protected void init()
init in class DisplayEffectsScreen<PlayerContainer>protected void drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
drawGuiContainerForegroundLayer in class ContainerScreen<PlayerContainer>public void render(int p_render_1_,
int p_render_2_,
float p_render_3_)
render in interface IRenderablerender in class DisplayEffectsScreen<PlayerContainer>protected void drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
drawGuiContainerBackgroundLayer in class ContainerScreen<PlayerContainer>public static void drawEntityOnScreen(int posX,
int posY,
int scale,
float mouseX,
float mouseY,
LivingEntity ent)
protected boolean isPointInRegion(int p_195359_1_,
int p_195359_2_,
int p_195359_3_,
int p_195359_4_,
double p_195359_5_,
double p_195359_7_)
isPointInRegion in class ContainerScreen<PlayerContainer>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<PlayerContainer>public boolean mouseReleased(double p_mouseReleased_1_,
double p_mouseReleased_3_,
int p_mouseReleased_5_)
mouseReleased in interface IGuiEventListenermouseReleased in interface INestedGuiEventHandlermouseReleased in class ContainerScreen<PlayerContainer>protected boolean hasClickedOutside(double p_195361_1_,
double p_195361_3_,
int p_195361_5_,
int p_195361_6_,
int p_195361_7_)
hasClickedOutside in class ContainerScreen<PlayerContainer>protected void handleMouseClick(Slot slotIn, int slotId, int mouseButton, ClickType type)
handleMouseClick in class ContainerScreen<PlayerContainer>public void recipesUpdated()
recipesUpdated in interface IRecipeShownListenerpublic void removed()
removed in class ContainerScreen<PlayerContainer>public RecipeBookGui func_194310_f()
func_194310_f in interface IRecipeShownListener