@ApiStatus.Internal public class VillagerRecipeViewingScreen extends net.minecraft.client.gui.screen.Screen implements RecipeScreen
| Modifier and Type | Field and Description |
|---|---|
me.shedaniel.math.Rectangle |
bounds |
me.shedaniel.math.Rectangle |
scrollListBounds |
| Constructor and Description |
|---|
VillagerRecipeViewingScreen(java.util.Map<RecipeCategory<?>,java.util.List<RecipeDisplay>> categoryMap,
@Nullable net.minecraft.util.ResourceLocation category) |
| Modifier and Type | Method and Description |
|---|---|
void |
addIngredientStackToNotice(EntryStack stack) |
void |
addResultStackToNotice(EntryStack stack) |
boolean |
charTyped(char char_1,
int int_1) |
net.minecraft.util.ResourceLocation |
getCurrentCategory() |
void |
init() |
boolean |
isPauseScreen() |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
boolean |
mouseClicked(double mouseX,
double mouseY,
int button) |
boolean |
mouseDragged(double mouseX,
double mouseY,
int int_1,
double double_3,
double double_4) |
boolean |
mouseReleased(double double_1,
double double_2,
int int_1) |
boolean |
mouseScrolled(double mouseX,
double mouseY,
double amount) |
void |
recalculateCategoryPage() |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, onFilesDrop, removed, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic me.shedaniel.math.Rectangle bounds
public me.shedaniel.math.Rectangle scrollListBounds
public VillagerRecipeViewingScreen(java.util.Map<RecipeCategory<?>,java.util.List<RecipeDisplay>> categoryMap, @Nullable @Nullable net.minecraft.util.ResourceLocation category)
public boolean isPauseScreen()
isPauseScreen in class net.minecraft.client.gui.screen.Screenpublic void addIngredientStackToNotice(EntryStack stack)
addIngredientStackToNotice in interface RecipeScreenpublic void addResultStackToNotice(EntryStack stack)
addResultStackToNotice in interface RecipeScreenpublic net.minecraft.util.ResourceLocation getCurrentCategory()
getCurrentCategory in interface RecipeScreenpublic void recalculateCategoryPage()
recalculateCategoryPage in interface RecipeScreenpublic void init()
init in class net.minecraft.client.gui.screen.Screenpublic boolean mouseClicked(double mouseX,
double mouseY,
int button)
mouseClicked in interface net.minecraft.client.gui.IGuiEventListenermouseClicked in interface net.minecraft.client.gui.INestedGuiEventHandlerpublic boolean charTyped(char char_1,
int int_1)
charTyped in interface net.minecraft.client.gui.IGuiEventListenercharTyped in interface net.minecraft.client.gui.INestedGuiEventHandlerpublic boolean mouseScrolled(double mouseX,
double mouseY,
double amount)
mouseScrolled in interface net.minecraft.client.gui.IGuiEventListenermouseScrolled in interface net.minecraft.client.gui.INestedGuiEventHandlerpublic void render(com.mojang.blaze3d.matrix.MatrixStack matrices,
int mouseX,
int mouseY,
float delta)
render in interface net.minecraft.client.gui.IRenderablerender in class net.minecraft.client.gui.screen.Screenpublic boolean mouseReleased(double double_1,
double double_2,
int int_1)
mouseReleased in interface net.minecraft.client.gui.IGuiEventListenermouseReleased in interface net.minecraft.client.gui.INestedGuiEventHandlerpublic boolean mouseDragged(double mouseX,
double mouseY,
int int_1,
double double_3,
double double_4)
mouseDragged in interface net.minecraft.client.gui.IGuiEventListenermouseDragged in interface net.minecraft.client.gui.INestedGuiEventHandlerpublic boolean keyPressed(int keyCode,
int scanCode,
int modifiers)
keyPressed in interface net.minecraft.client.gui.IGuiEventListenerkeyPressed in interface net.minecraft.client.gui.INestedGuiEventHandlerkeyPressed in class net.minecraft.client.gui.screen.Screen