Package hiiragi283.core.api.registry
Class HTFluidContent
-
- All Implemented Interfaces:
-
hiiragi283.core.api.registry.HTFluidWithTag,hiiragi283.core.api.registry.HTHolderLike,hiiragi283.core.api.resource.HTIdLike,hiiragi283.core.api.resource.HTKeyLike,hiiragi283.core.api.resource.HTKeyLike.HolderDelegate,java.util.function.Supplier
@JvmRecord() public final class HTFluidContent<TYPE extends FluidType, STILL extends Fluid, FLOWING extends Fluid> extends Record implements HTFluidWithTag<STILL>
登録した液体とそれに関する要素を束ねるクラスです。
- Since:
0.1.0
Hiiragi Tsubasa
-
-
Field Summary
Fields Modifier and Type Field Description private final HTDeferredHolder<FluidType, TYPE>typeHolderprivate final HTDeferredHolder<Fluid, STILL>stillHolderprivate final HTDeferredHolder<Fluid, FLOWING>flowingHolderprivate final HTDeferredHolder<Block, out LiquidBlock>blockprivate final HTItemHolderLike<?>bucketprivate final TagKey<Item>bucketTag
-
Constructor Summary
Constructors Constructor Description HTFluidContent(HTDeferredHolder<FluidType, TYPE> typeHolder, HTDeferredHolder<Fluid, STILL> stillHolder, HTDeferredHolder<Fluid, FLOWING> flowingHolder, TagKey<Fluid> fluidTag, HTDeferredHolder<Block, out LiquidBlock> block, HTItemHolderLike<?> bucket, TagKey<Item> bucketTag)
-
Method Summary
Modifier and Type Method Description final HTDeferredHolder<FluidType, TYPE>getTypeHolder()final HTDeferredHolder<Fluid, STILL>getStillHolder()final HTDeferredHolder<Fluid, FLOWING>getFlowingHolder()final HTDeferredHolder<Block, out LiquidBlock>getBlock()final HTItemHolderLike<?>getBucket()final TagKey<Item>getBucketTag()TagKey<Fluid>getFluidTag()保持している液体のTagKeyを返します。 TYPEgetFluidType()保持している液体のFluidTypeを返します。 STILLget()Holder<Fluid>getHolder()保持しているHolderを返します。 -
Methods inherited from class hiiragi283.core.api.registry.HTFluidWithTag
isOf, isOf, isOf -
Methods inherited from class hiiragi283.core.api.resource.HTKeyLike
getId, getResourceKey -
Methods inherited from class hiiragi283.core.api.resource.HTIdLike
getNamespace, getPath -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HTFluidContent
HTFluidContent(HTDeferredHolder<FluidType, TYPE> typeHolder, HTDeferredHolder<Fluid, STILL> stillHolder, HTDeferredHolder<Fluid, FLOWING> flowingHolder, TagKey<Fluid> fluidTag, HTDeferredHolder<Block, out LiquidBlock> block, HTItemHolderLike<?> bucket, TagKey<Item> bucketTag)
-
-
Method Detail
-
getTypeHolder
final HTDeferredHolder<FluidType, TYPE> getTypeHolder()
-
getStillHolder
final HTDeferredHolder<Fluid, STILL> getStillHolder()
-
getFlowingHolder
final HTDeferredHolder<Fluid, FLOWING> getFlowingHolder()
-
getBlock
final HTDeferredHolder<Block, out LiquidBlock> getBlock()
-
getBucket
final HTItemHolderLike<?> getBucket()
-
getBucketTag
final TagKey<Item> getBucketTag()
-
getFluidTag
TagKey<Fluid> getFluidTag()
保持している液体のTagKeyを返します。
-
getFluidType
TYPE getFluidType()
保持している液体のFluidTypeを返します。
-
getHolder
Holder<Fluid> getHolder()
保持しているHolderを返します。
-
-
-
-