Package hiiragi283.core.api.registry
Interface HTFluidWithTag
-
- All Implemented Interfaces:
-
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
public interface HTFluidWithTag<FLUID extends Fluid> implements HTHolderLike<Fluid, FLUID>, HTKeyLike.HolderDelegate<Fluid>
液体のインスタンスとTagKeyを保持するHTHolderLikeの拡張インターフェースです。
- Since:
0.1.0
Hiiragi Tsubasa
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classHTFluidWithTag.Companion
-
Method Summary
Modifier and Type Method Description abstract TagKey<Fluid>getFluidTag()保持している液体のTagKeyを返します。 abstract FluidTypegetFluidType()保持している液体のFluidTypeを返します。 BooleanisOf(Fluid fluid)BooleanisOf(TagKey<Fluid> tagKey)BooleanisOf(HTFluidResourceType resource)-
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.util.function.Supplier
get -
Methods inherited from class hiiragi283.core.api.resource.HTKeyLike.HolderDelegate
getHolder -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getFluidTag
abstract TagKey<Fluid> getFluidTag()
保持している液体のTagKeyを返します。
-
getFluidType
abstract FluidType getFluidType()
保持している液体のFluidTypeを返します。
-
isOf
Boolean isOf(HTFluidResourceType resource)
-
-
-
-