Class HTBasicRecipeCategory

  • All Implemented Interfaces:
    hiiragi283.core.api.gui.HTAbstractGui , mezz.jei.api.recipe.category.IRecipeCategory , net.minecraft.client.gui.components.TabOrderedElement , net.minecraft.client.gui.components.events.ContainerEventHandler , net.minecraft.client.gui.components.events.GuiEventListener

    
    public abstract class HTBasicRecipeCategory<RECIPE extends Object>
    extends AbstractContainerEventHandler implements IRecipeCategory<RECIPE>, HTAbstractGui
                        

    Hiiragi Coreとそれを前提とするmodで使用されるIRecipeCategoryの拡張クラスです。

    Since:

    0.11.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ItemStack getCarried()
      List<GuiEventListener> children()
      ScreenRectangle getRectangle()
      Integer getGuiLeft() このGUIの始点のx座標を取得します。
      Integer getGuiTop() このGUIの始点のy座標を取得します。
      Integer getXSize() このGUIの幅を取得します。
      Integer getYSize() このGUIの高さを取得します。
      final RecipeType<RECIPE> getRecipeType()
      final Component getTitle()
      Integer getWidth()
      Integer getHeight()
      final IDrawable getIcon()
      abstract Unit setRecipe(IRecipeLayoutBuilder builder, RECIPE recipe, IFocusGroup focuses)
      Unit draw(RECIPE recipe, IRecipeSlotsView recipeSlotsView, GuiGraphics guiGraphics, Double mouseX, Double mouseY)
      abstract ResourceLocation getRegistryName(RECIPE recipe)
      abstract Codec<RECIPE> getCodec(ICodecHelper codecHelper, IRecipeManager recipeManager)
      final Integer getPosition(Integer index) 指定したインデックスから座標を返します。
      final Integer getPosition(Float index) 指定したインデックスから座標を返します。
      final Integer getPosition(Double index) 指定したインデックスから座標を返します。
      final Integer getPosition(Fraction index) 指定したインデックスから座標を返します。
      • Methods inherited from class net.minecraft.client.gui.components.events.ContainerEventHandler

        getChildAt, getCurrentFocusPath, getFocused, isDragging, isFocused, setDragging, setFocused, setFocused
      • Methods inherited from class hiiragi283.core.api.integration.jei.category.HTBasicRecipeCategory

        getBackground, getFocused, getHeight, getIcon, getRecipeType, getRectangle, getTitle, getWidth, isDragging, setDragging, setFocused
      • Methods inherited from class net.minecraft.client.gui.components.TabOrderedElement

        getTabOrderGroup
      • Methods inherited from class net.minecraft.client.gui.components.events.GuiEventListener

        charTyped, isMouseOver, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath
      • Methods inherited from class mezz.jei.api.recipe.category.IRecipeCategory

        createRecipeExtras, createRecipeExtras, getTooltip, getTooltipStrings, handleInput, isHandled, needsRecipeBorder, onDisplayedIngredientsUpdate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait