public abstract class AbstractFurnaceScreen<T extends AbstractFurnaceContainer> extends ContainerScreen<T> implements IRecipeShownListener
修飾子とタイプ | フィールドと説明 |
---|---|
AbstractRecipeBookGui |
recipeGui |
container, dragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, playerInventory, slotColor, xSize, ySize
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
コンストラクタと説明 |
---|
AbstractFurnaceScreen(T screenContainer,
AbstractRecipeBookGui recipeGuiIn,
PlayerInventory inv,
ITextComponent titleIn,
ResourceLocation guiTextureIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
charTyped(char p_charTyped_1_,
int p_charTyped_2_) |
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) |
void |
init() |
boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
void |
recipesUpdated() |
void |
removed() |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
void |
tick() |
func_195363_d, getContainer, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, isPauseScreen, isPointInRegion, mouseDragged, mouseReleased, renderHoveredToolTip, shouldCloseOnEsc
addButton, 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, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, func_212932_b, getEventListenerForPos, keyReleased, mouseScrolled, setFocusedDefault
mouseMoved
public final AbstractRecipeBookGui recipeGui
public AbstractFurnaceScreen(T screenContainer, AbstractRecipeBookGui recipeGuiIn, PlayerInventory inv, ITextComponent titleIn, ResourceLocation guiTextureIn)
public void init()
init
クラス内 ContainerScreen<T extends AbstractFurnaceContainer>
public void tick()
tick
クラス内 ContainerScreen<T extends AbstractFurnaceContainer>
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
インタフェース内 IRenderable
render
クラス内 ContainerScreen<T extends AbstractFurnaceContainer>
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
クラス内 ContainerScreen<T extends AbstractFurnaceContainer>
protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
drawGuiContainerBackgroundLayer
クラス内 ContainerScreen<T extends AbstractFurnaceContainer>
public boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_)
mouseClicked
インタフェース内 IGuiEventListener
mouseClicked
インタフェース内 INestedGuiEventHandler
mouseClicked
クラス内 ContainerScreen<T extends AbstractFurnaceContainer>
protected void handleMouseClick(Slot slotIn, int slotId, int mouseButton, ClickType type)
handleMouseClick
クラス内 ContainerScreen<T extends AbstractFurnaceContainer>
public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_)
keyPressed
インタフェース内 IGuiEventListener
keyPressed
インタフェース内 INestedGuiEventHandler
keyPressed
クラス内 ContainerScreen<T extends AbstractFurnaceContainer>
protected boolean hasClickedOutside(double mouseX, double mouseY, int guiLeftIn, int guiTopIn, int mouseButton)
hasClickedOutside
クラス内 ContainerScreen<T extends AbstractFurnaceContainer>
public boolean charTyped(char p_charTyped_1_, int p_charTyped_2_)
charTyped
インタフェース内 IGuiEventListener
charTyped
インタフェース内 INestedGuiEventHandler
public void recipesUpdated()
recipesUpdated
インタフェース内 IRecipeShownListener
public RecipeBookGui getRecipeGui()
getRecipeGui
インタフェース内 IRecipeShownListener
public void removed()
removed
クラス内 ContainerScreen<T extends AbstractFurnaceContainer>