Class HTAttachedFluids
-
- All Implemented Interfaces:
-
hiiragi283.core.api.storage.attachments.HTAttachedContainers,kotlin.collections.Collection,kotlin.collections.Iterable
@JvmRecord() public final class HTAttachedFluids extends Record implements HTAttachedContainers<FluidStack, HTAttachedFluids>
液体向けのHTAttachedContainersの実装クラスです。
-
-
Field Summary
Fields Modifier and Type Field Description public final static BiCodec<RegistryFriendlyByteBuf, HTAttachedFluids>CODECpublic final static HTAttachedFluidsEMPTYprivate final List<FluidStack>containersprivate final Integersize
-
Constructor Summary
Constructors Constructor Description HTAttachedFluids(List<FluidStack> containers)
-
Method Summary
Modifier and Type Method Description List<FluidStack>getContainers()IntegergetSize()HTAttachedFluidscreate(List<FluidStack> containers)BooleanisEmpty()Booleanequals(Object other)IntegerhashCode()final static HTAttachedFluidscreate(Integer size)-
Methods inherited from class hiiragi283.core.api.storage.attachments.HTAttachedContainers
contains, containsAll, get, getOrNull, iterator, with -
Methods inherited from class kotlin.collections.Collection
parallelStream, stream, toArray -
Methods inherited from class kotlin.collections.Iterable
forEach, spliterator -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HTAttachedFluids
HTAttachedFluids(List<FluidStack> containers)
-
-
-
-