Class HTBasicRecipeCategory
-
- All Implemented Interfaces:
-
hiiragi283.lib.gui.HTAbstractGui,mezz.jei.api.recipe.category.IRecipeCategory
public abstract class HTBasicRecipeCategory<RECIPE extends Object> implements IRecipeCategory<RECIPE>, HTAbstractGui
Hiiragi Coreとそれを前提とするmodで使用されるIRecipeCategoryの拡張クラスです。
- Since:
0.11.0
Hiiragi Tsubasa
-
-
Constructor Summary
Constructors Constructor Description HTBasicRecipeCategory(IGuiHelper guiHelper, IRecipeType<RECIPE> recipeType, Component title, IDrawable icon, HTBounds bounds)HTBasicRecipeCategory(IGuiHelper guiHelper, HTRecipeViewerType<RECIPE> recipeType)
-
Method Summary
Modifier and Type Method Description ItemStackgetCarried()IntegergetGuiLeft()このGUIの始点のx座標を取得します。 IntegergetGuiTop()このGUIの始点のy座標を取得します。 IntegergetXSize()このGUIの幅を取得します。 IntegergetYSize()このGUIの高さを取得します。 final IRecipeType<RECIPE>getRecipeType()final ComponentgetTitle()IntegergetWidth()IntegergetHeight()final IDrawablegetIcon()abstract UnitsetRecipe(IRecipeLayoutBuilder builder, RECIPE recipe, IFocusGroup focuses)abstract IdentifiergetIdentifier(RECIPE recipe)abstract Codec<RECIPE>getCodec(ICodecHelper codecHelper, IRecipeManager recipeManager)final IntegergetPosition(Integer index)指定したインデックスから座標を返します。 final IntegergetPosition(Float index)指定したインデックスから座標を返します。 final IntegergetPosition(Double index)指定したインデックスから座標を返します。 final IntegergetPosition(Fraction index)指定したインデックスから座標を返します。 -
Methods inherited from class hiiragi283.lib.integration.jei.category.HTBasicRecipeCategory
getHeight, getIcon, getRecipeType, getTitle, getWidth -
Methods inherited from class mezz.jei.api.recipe.category.IRecipeCategory
createRecipeExtras, draw, getRegistryName, getTooltip, isHandled, needsRecipeBorder, onDisplayedIngredientsUpdate -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HTBasicRecipeCategory
HTBasicRecipeCategory(IGuiHelper guiHelper, IRecipeType<RECIPE> recipeType, Component title, IDrawable icon, HTBounds bounds)
-
HTBasicRecipeCategory
HTBasicRecipeCategory(IGuiHelper guiHelper, HTRecipeViewerType<RECIPE> recipeType)
-
-
Method Detail
-
getCarried
ItemStack getCarried()
-
getGuiLeft
Integer getGuiLeft()
このGUIの始点のx座標を取得します。
-
getRecipeType
final IRecipeType<RECIPE> getRecipeType()
-
getTitle
final Component getTitle()
-
getIcon
final IDrawable getIcon()
-
getIdentifier
abstract Identifier getIdentifier(RECIPE recipe)
-
getPosition
final Integer getPosition(Integer index)
指定したインデックスから座標を返します。
-
getPosition
final Integer getPosition(Float index)
指定したインデックスから座標を返します。
-
getPosition
final Integer getPosition(Double index)
指定したインデックスから座標を返します。
-
getPosition
final Integer getPosition(Fraction index)
指定したインデックスから座標を返します。
-
-
-
-