@ApiStatus.Internal
public class PreRecipeViewingScreen
extends net.minecraft.client.gui.screen.Screen
| Modifier and Type | Class and Description |
|---|---|
class |
PreRecipeViewingScreen.ScreenTypeSelection |
| Modifier and Type | Field and Description |
|---|---|
protected long |
duration |
protected long |
start |
| Constructor and Description |
|---|
PreRecipeViewingScreen(net.minecraft.client.gui.screen.Screen parent,
RecipeScreenType type,
boolean showTips,
it.unimi.dsi.fastutil.booleans.BooleanConsumer callback) |
| Modifier and Type | Method and Description |
|---|---|
double |
clamp(double v) |
double |
clamp(double v,
double clampExtension) |
void |
init() |
boolean |
keyPressed(int int_1,
int int_2,
int int_3) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrices,
int int_1,
int int_2,
float float_1) |
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, 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 PreRecipeViewingScreen(net.minecraft.client.gui.screen.Screen parent,
RecipeScreenType type,
boolean showTips,
it.unimi.dsi.fastutil.booleans.BooleanConsumer callback)
public final double clamp(double v)
public final double clamp(double v,
double clampExtension)
public void init()
init in class net.minecraft.client.gui.screen.Screenpublic void render(com.mojang.blaze3d.matrix.MatrixStack matrices,
int int_1,
int int_2,
float float_1)
render in interface net.minecraft.client.gui.IRenderablerender in class net.minecraft.client.gui.screen.Screenpublic boolean keyPressed(int int_1,
int int_2,
int int_3)
keyPressed in interface net.minecraft.client.gui.IGuiEventListenerkeyPressed in interface net.minecraft.client.gui.INestedGuiEventHandlerkeyPressed in class net.minecraft.client.gui.screen.Screen