public class AnvilScreen extends ContainerScreen<RepairContainer> implements IContainerListener
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
コンストラクタと説明 |
---|
AnvilScreen(RepairContainer p_i51103_1_,
PlayerInventory p_i51103_2_,
ITextComponent p_i51103_3_) |
修飾子とタイプ | メソッドと説明 |
---|---|
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)
|
protected void |
init() |
boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
void |
removed() |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
void |
resize(Minecraft p_resize_1_,
int p_resize_2_,
int p_resize_3_) |
void |
sendAllContents(Container containerToSend,
NonNullList<ItemStack> itemsList)
update the crafting window inventory with the items in the list
|
void |
sendSlotContents(Container containerToSend,
int slotInd,
ItemStack stack)
Sends the contents of an inventory slot to the client-side Container.
|
void |
sendWindowProperty(Container containerIn,
int varToUpdate,
int newValue)
Sends two ints to the client-side Container.
|
func_195363_d, getContainer, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, isPauseScreen, isPointInRegion, mouseClicked, mouseDragged, mouseReleased, renderHoveredToolTip, shouldCloseOnEsc, tick
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, 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, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseScrolled, setFocusedDefault
mouseMoved
public AnvilScreen(RepairContainer p_i51103_1_, PlayerInventory p_i51103_2_, ITextComponent p_i51103_3_)
protected void init()
init
クラス内 ContainerScreen<RepairContainer>
public void resize(Minecraft p_resize_1_, int p_resize_2_, int p_resize_3_)
public void removed()
removed
クラス内 ContainerScreen<RepairContainer>
public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_)
keyPressed
インタフェース内 IGuiEventListener
keyPressed
インタフェース内 INestedGuiEventHandler
keyPressed
クラス内 ContainerScreen<RepairContainer>
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
クラス内 ContainerScreen<RepairContainer>
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
インタフェース内 IRenderable
render
クラス内 ContainerScreen<RepairContainer>
protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
public void sendAllContents(Container containerToSend, NonNullList<ItemStack> itemsList)
sendAllContents
インタフェース内 IContainerListener
public void sendSlotContents(Container containerToSend, int slotInd, ItemStack stack)
sendSlotContents
インタフェース内 IContainerListener
public void sendWindowProperty(Container containerIn, int varToUpdate, int newValue)
sendWindowProperty
インタフェース内 IContainerListener