Class HTDeferredRecipeType

  • All Implemented Interfaces:
    hiiragi283.core.api.recipe.HTRecipeFinder , hiiragi283.core.api.recipe.HTRecipeFinder.Vanilla , hiiragi283.core.api.registry.HTHolderLike , hiiragi283.core.api.resource.HTIdLike , hiiragi283.core.api.resource.HTKeyLike , hiiragi283.core.api.text.HTHasText , hiiragi283.core.api.text.HTHasTranslationKey , java.util.function.Supplier

    
    public final class HTDeferredRecipeType<INPUT extends RecipeInput, RECIPE extends Recipe<INPUT>>
     implements HTHolderLike<RecipeType<?>, RecipeType<RECIPE>>, HTRecipeFinder.Vanilla<INPUT, RECIPE>, HTHasTranslationKey, HTHasText
                        
    • 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
      String getTranslationKey()
      ResourceKey<RecipeType<?>> getResourceKey() 保持しているResourceKeyを返します。
      RecipeType<RECIPE> get()
      RecipeHolder<RECIPE> getVanillaRecipeFor(INPUT input, Level level, RecipeHolder<RECIPE> lastRecipe) 指定した入力レベルから最初に一致するレシピを返します。
      Component getText() テキストを取得します。
      • Methods inherited from class hiiragi283.core.api.resource.HTKeyLike

        getId, isOf, isOf
      • Methods inherited from class hiiragi283.core.api.resource.HTIdLike

        getNamespace, getPath
      • Methods inherited from class hiiragi283.core.api.recipe.HTRecipeFinder.Vanilla

        getRecipeFor
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HTDeferredRecipeType

        HTDeferredRecipeType(ResourceKey<RecipeType<?>> key)
      • HTDeferredRecipeType

        HTDeferredRecipeType(ResourceLocation id)