类 OverlayRecipeComponent
java.lang.Object
net.minecraft.client.gui.screens.recipebook.OverlayRecipeComponent
- 所有已实现的接口:
GuiEventListener
,Renderable
,TabOrderedElement
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) class
(专用程序包) class
(专用程序包) class
-
字段概要
字段修饰符和类型字段说明static final int
private RecipeCollection
private final boolean
private boolean
private static final float
private RecipeDisplayId
private static final int
private static final int
private static final ResourceLocation
private final List
<OverlayRecipeComponent.OverlayRecipeButton> (专用程序包) final SlotSelectTime
private int
private int
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
init
(RecipeCollection p_100196_, ContextMap p_360776_, boolean p_365399_, int p_100197_, int p_100198_, int p_100199_, int p_100200_, float p_100201_) boolean
boolean
isMouseOver
(double p_100208_, double p_100209_) boolean
boolean
mouseClicked
(double p_100186_, double p_100187_, int p_100188_) void
render
(GuiGraphics p_281618_, int p_282646_, int p_283687_, float p_283147_) void
setFocused
(boolean p_265597_) void
setVisible
(boolean p_100205_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
OVERLAY_RECIPE_SPRITE
-
MAX_ROW
private static final int MAX_ROW- 另请参阅:
-
MAX_ROW_LARGE
private static final int MAX_ROW_LARGE- 另请参阅:
-
ITEM_RENDER_SCALE
private static final float ITEM_RENDER_SCALE- 另请参阅:
-
BUTTON_SIZE
public static final int BUTTON_SIZE- 另请参阅:
-
recipeButtons
-
isVisible
private boolean isVisible -
x
private int x -
y
private int y -
collection
-
lastRecipeClicked
-
slotSelectTime
-
isFurnaceMenu
private final boolean isFurnaceMenu
-
-
构造器详细资料
-
OverlayRecipeComponent
-
-
方法详细资料
-
init
public void init(RecipeCollection p_100196_, ContextMap p_360776_, boolean p_365399_, int p_100197_, int p_100198_, int p_100199_, int p_100200_, float p_100201_) -
getRecipeCollection
-
getLastRecipeClicked
-
mouseClicked
public boolean mouseClicked(double p_100186_, double p_100187_, int p_100188_) - 指定者:
mouseClicked
在接口中GuiEventListener
-
isMouseOver
public boolean isMouseOver(double p_100208_, double p_100209_) - 指定者:
isMouseOver
在接口中GuiEventListener
-
render
- 指定者:
render
在接口中Renderable
-
setVisible
public void setVisible(boolean p_100205_) -
isVisible
public boolean isVisible() -
setFocused
public void setFocused(boolean p_265597_) - 指定者:
setFocused
在接口中GuiEventListener
-
isFocused
public boolean isFocused()- 指定者:
isFocused
在接口中GuiEventListener
-