Package net.minecraft.nbt
Class NbtOps.HeterogenousListCollector
java.lang.Object
net.minecraft.nbt.NbtOps.HeterogenousListCollector
- All Implemented Interfaces:
NbtOps.ListCollector
- Enclosing class:
- NbtOps
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHeterogenousListCollector
(it.unimi.dsi.fastutil.bytes.ByteArrayList p_248575_) HeterogenousListCollector
(it.unimi.dsi.fastutil.ints.IntArrayList p_250270_) HeterogenousListCollector
(it.unimi.dsi.fastutil.longs.LongArrayList p_249410_) HeterogenousListCollector
(Collection<Tag> p_249606_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
isWrapper
(CompoundTag p_252073_) result()
private static CompoundTag
wrapElement
(Tag p_251263_) private static Tag
wrapIfNeeded
(Tag p_252042_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.nbt.NbtOps.ListCollector
acceptAll, acceptAll
-
Field Details
-
result
-
-
Constructor Details
-
HeterogenousListCollector
public HeterogenousListCollector() -
HeterogenousListCollector
-
HeterogenousListCollector
public HeterogenousListCollector(it.unimi.dsi.fastutil.ints.IntArrayList p_250270_) -
HeterogenousListCollector
public HeterogenousListCollector(it.unimi.dsi.fastutil.bytes.ByteArrayList p_248575_) -
HeterogenousListCollector
public HeterogenousListCollector(it.unimi.dsi.fastutil.longs.LongArrayList p_249410_)
-
-
Method Details
-
isWrapper
-
wrapIfNeeded
-
wrapElement
-
accept
- Specified by:
accept
in interfaceNbtOps.ListCollector
-
result
- Specified by:
result
in interfaceNbtOps.ListCollector
-