public class SingleRecipeScreen<T extends SingleRecipeContainer<U>,U extends net.minecraft.item.crafting.SingleItemRecipe>
extends net.minecraft.client.gui.screen.inventory.ContainerScreen<T>
container, dragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, playerInventory, playerInventoryTitleX, playerInventoryTitleY, slotColor, titleX, titleY, xSize, ySize| Constructor and Description |
|---|
SingleRecipeScreen(T container,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.util.text.ITextComponent title) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawGuiContainerBackgroundLayer(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
float partialTicks,
int x,
int y) |
protected int |
getHiddenRows() |
boolean |
mouseClicked(double mouseX,
double mouseY,
int p_231044_5_) |
boolean |
mouseDragged(double p_231045_1_,
double p_231045_3_,
int p_231045_5_,
double p_231045_6_,
double p_231045_8_) |
boolean |
mouseScrolled(double mouseX,
double mouseY,
double p_231043_5_) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
float partialTicks) |
protected void |
renderHoveredTooltip(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y) |
closeScreen, drawGuiContainerForegroundLayer, getContainer, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, init, isPauseScreen, isPointInRegion, itemStackMoved, keyPressed, mouseReleased, onClose, tickaddButton, addListener, addPacks, func_243308_b, getEventListeners, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorgetListener, isDragging, setDragging, setListenerblit, blit, blit, blit, blit, blitBlackOutline, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic SingleRecipeScreen(T container, net.minecraft.entity.player.PlayerInventory playerInventory, net.minecraft.util.text.ITextComponent title)
public void render(@Nonnull
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
float partialTicks)
render in interface net.minecraft.client.gui.IRenderablerender in class net.minecraft.client.gui.screen.inventory.ContainerScreen<T extends SingleRecipeContainer<U>>protected void drawGuiContainerBackgroundLayer(@Nonnull
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
float partialTicks,
int x,
int y)
drawGuiContainerBackgroundLayer in class net.minecraft.client.gui.screen.inventory.ContainerScreen<T extends SingleRecipeContainer<U>>protected void renderHoveredTooltip(@Nonnull
com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y)
renderHoveredTooltip in class net.minecraft.client.gui.screen.inventory.ContainerScreen<T extends SingleRecipeContainer<U>>public boolean mouseClicked(double mouseX,
double mouseY,
int p_231044_5_)
mouseClicked in interface net.minecraft.client.gui.IGuiEventListenermouseClicked in interface net.minecraft.client.gui.INestedGuiEventHandlermouseClicked in class net.minecraft.client.gui.screen.inventory.ContainerScreen<T extends SingleRecipeContainer<U>>public boolean mouseDragged(double p_231045_1_,
double p_231045_3_,
int p_231045_5_,
double p_231045_6_,
double p_231045_8_)
mouseDragged in interface net.minecraft.client.gui.IGuiEventListenermouseDragged in interface net.minecraft.client.gui.INestedGuiEventHandlermouseDragged in class net.minecraft.client.gui.screen.inventory.ContainerScreen<T extends SingleRecipeContainer<U>>public boolean mouseScrolled(double mouseX,
double mouseY,
double p_231043_5_)
protected int getHiddenRows()