类 RecipeToast
java.lang.Object
net.minecraft.client.gui.components.toasts.RecipeToast
- 所有已实现的接口:
Toast
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.client.gui.components.toasts.Toast
Toast.Visibility
-
字段概要
字段修饰符和类型字段说明private boolean
private static final Component
private static final long
private long
private static final Component
从接口继承的字段 net.minecraft.client.gui.components.toasts.Toast
NO_TOKEN, SLOT_HEIGHT, TEXTURE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
static void
addOrUpdate
(ToastComponent pToastGui, Recipe<?> pRecipe) render
(GuiGraphics pGuiGraphics, ToastComponent pToastComponent, long pTimeSinceLastVisible)
-
字段详细资料
-
DISPLAY_TIME
private static final long DISPLAY_TIME- 另请参阅:
-
TITLE_TEXT
-
DESCRIPTION_TEXT
-
recipes
-
lastChanged
private long lastChanged -
changed
private boolean changed
-
-
构造器详细资料
-
RecipeToast
-
-
方法详细资料
-
render
public Toast.Visibility render(GuiGraphics pGuiGraphics, ToastComponent pToastComponent, long pTimeSinceLastVisible) -
addItem
-
addOrUpdate
-