Interface HTRecipeCache

  • All Implemented Interfaces:
    hiiragi283.core.api.serialization.value.HTValueSerializable , net.neoforged.neoforge.common.util.INBTSerializable

    
    public interface HTRecipeCache<INPUT extends RecipeInput, RECIPE extends Object>
     implements HTValueSerializable
                        

    レシピを保持するキャッシュを表すインターフェースです。

    Since:

    0.1.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract RECIPE getFirstRecipe(INPUT input, Level level) 指定した入力レベルから最初に一致するレシピを返します。
      • Methods inherited from class hiiragi283.core.api.serialization.value.HTValueSerializable

        deserialize, serialize
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getFirstRecipe

         abstract RECIPE getFirstRecipe(INPUT input, Level level)

        指定した入力レベルから最初に一致するレシピを返します。

        Returns:

        一致するレシピがない場合はnull