Class HTAttachedEnergy
-
- All Implemented Interfaces:
-
hiiragi283.core.api.storage.attachments.HTAttachedContainers,kotlin.collections.Collection,kotlin.collections.Iterable
@JvmRecord() public final class HTAttachedEnergy extends Record implements HTAttachedContainers<Int, HTAttachedEnergy>
-
-
Field Summary
Fields Modifier and Type Field Description public final static BiCodec<ByteBuf, HTAttachedEnergy>CODECpublic final static HTAttachedEnergyEMPTYprivate final List<Integer>containersprivate final Integersize
-
Constructor Summary
Constructors Constructor Description HTAttachedEnergy(List<Integer> containers)
-
Method Summary
Modifier and Type Method Description List<Integer>getContainers()IntegergetSize()HTAttachedEnergycreate(List<Integer> containers)final static HTAttachedEnergycreate(Integer size)-
Methods inherited from class hiiragi283.core.api.storage.attachments.HTAttachedContainers
contains, containsAll, get, getOrNull, isEmpty, 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
-
-
Method Detail
-
getContainers
List<Integer> getContainers()
-
create
HTAttachedEnergy create(List<Integer> containers)
-
create
final static HTAttachedEnergy create(Integer size)
-
-
-
-