Object HTItemResourceFactory

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      HTItemResourceType create(Item type, DataComponentPatch patch) 指定したtypepatchからRESOURCEを作成します。
      HTItemResourceType fromStack(ItemStack stack) 指定したstackからRESOURCEを作成します。
      ItemStack createStack(HTItemResourceType resource, Integer amount) 指定したresourceamountからSTACKを作成します。
      Integer getDefaultAmount() デフォルトの数量を取得します。
      • Methods inherited from class hiiragi283.core.api.storage.resource.HTResourceFactory.DataComponent

        create, createOrThrow, fromType
      • Methods inherited from class hiiragi283.core.api.storage.resource.HTResourceFactory

        fromHolder, fromHolderOrThrow, fromStackOrThrow, fromTypeOrThrow
      • Methods inherited from class java.lang.Object

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