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, GUI_ICONS_LOCATION, STATS_ICON_LOCATION| コンストラクタと説明 |
|---|
InventoryScreen(PlayerEntity player) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static void |
drawEntityOnScreen(int posX,
int posY,
int scale,
float mouseX,
float mouseY,
LivingEntity p_228187_5_) |
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
Draws the background layer of this container (behind the items).
|
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
Draw the foreground layer for the GuiContainer (everything in front of the items)
|
RecipeBookGui |
getRecipeGui() |
protected void |
handleMouseClick(Slot slotIn,
int slotId,
int mouseButton,
ClickType type)
Called when the mouse is clicked over a slot or outside the gui.
|
protected boolean |
hasClickedOutside(double mouseX,
double mouseY,
int guiLeftIn,
int guiTopIn,
int mouseButton) |
protected void |
init() |
protected boolean |
isPointInRegion(int x,
int y,
int width,
int height,
double mouseX,
double mouseY) |
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, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseScrolled, setFocusedDefaultmouseMovedpublic InventoryScreen(PlayerEntity player)
public void tick()
tick クラス内 ContainerScreen<PlayerContainer>protected void init()
init クラス内 DisplayEffectsScreen<PlayerContainer>protected void drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
drawGuiContainerForegroundLayer クラス内 ContainerScreen<PlayerContainer>public void render(int p_render_1_,
int p_render_2_,
float p_render_3_)
render インタフェース内 IRenderablerender クラス内 DisplayEffectsScreen<PlayerContainer>protected void drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
public static void drawEntityOnScreen(int posX,
int posY,
int scale,
float mouseX,
float mouseY,
LivingEntity p_228187_5_)
protected boolean isPointInRegion(int x,
int y,
int width,
int height,
double mouseX,
double mouseY)
isPointInRegion クラス内 ContainerScreen<PlayerContainer>public boolean mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_)
mouseClicked インタフェース内 IGuiEventListenermouseClicked インタフェース内 INestedGuiEventHandlermouseClicked クラス内 ContainerScreen<PlayerContainer>public boolean mouseReleased(double p_mouseReleased_1_,
double p_mouseReleased_3_,
int p_mouseReleased_5_)
mouseReleased インタフェース内 IGuiEventListenermouseReleased インタフェース内 INestedGuiEventHandlermouseReleased クラス内 ContainerScreen<PlayerContainer>protected boolean hasClickedOutside(double mouseX,
double mouseY,
int guiLeftIn,
int guiTopIn,
int mouseButton)
hasClickedOutside クラス内 ContainerScreen<PlayerContainer>protected void handleMouseClick(Slot slotIn, int slotId, int mouseButton, ClickType type)
handleMouseClick クラス内 ContainerScreen<PlayerContainer>public void recipesUpdated()
recipesUpdated インタフェース内 IRecipeShownListenerpublic void removed()
removed クラス内 ContainerScreen<PlayerContainer>public RecipeBookGui getRecipeGui()
getRecipeGui インタフェース内 IRecipeShownListener