Class HTAttachedItems
-
- All Implemented Interfaces:
-
hiiragi283.core.api.storage.attachments.HTAttachedContainers,kotlin.collections.Collection,kotlin.collections.Iterable
@JvmRecord() public final class HTAttachedItems extends Record implements HTAttachedContainers<ItemStack, HTAttachedItems>
アイテム向けのHTAttachedContainersの実装クラスです。
-
-
Field Summary
Fields Modifier and Type Field Description public final static BiCodec<RegistryFriendlyByteBuf, HTAttachedItems>CODECpublic final static HTAttachedItemsEMPTYprivate final List<ItemStack>containersprivate final Integersize
-
Constructor Summary
Constructors Constructor Description HTAttachedItems(List<ItemStack> containers)
-
Method Summary
Modifier and Type Method Description List<ItemStack>getContainers()IntegergetSize()HTAttachedItemscreate(List<ItemStack> containers)BooleanisEmpty()Booleanequals(Object other)IntegerhashCode()final static HTAttachedItemscreate(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
-
HTAttachedItems
HTAttachedItems(List<ItemStack> containers)
-
-
-
-