Class NbtUtils
java.lang.Object
meteordevelopment.meteorclient.utils.misc.NbtUtils
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.nbt.CompoundTagstatic booleanfromClipboard(ISerializable<?> serializable) static <T> List<T> listFromTag(net.minecraft.nbt.ListTag tag, NbtUtils.ToValue<T> toItem) static <T extends ISerializable<?>>
net.minecraft.nbt.ListTagstatic <K,V> Map <K, V> mapFromTag(net.minecraft.nbt.CompoundTag tag, NbtUtils.ToKey<K> toKey, NbtUtils.ToValue<V> toValue) static <K, V extends ISerializable<?>>
net.minecraft.nbt.CompoundTagstatic booleantoClipboard(ISerializable<?> serializable) static booleantoClipboard(net.minecraft.nbt.CompoundTag tag)
-
Constructor Details
-
NbtUtils
public NbtUtils()
-
-
Method Details
-
listToTag
-
listFromTag
-
mapToTag
-
mapFromTag
public static <K,V> Map<K,V> mapFromTag(net.minecraft.nbt.CompoundTag tag, NbtUtils.ToKey<K> toKey, NbtUtils.ToValue<V> toValue) -
toClipboard
-
toClipboard
public static boolean toClipboard(net.minecraft.nbt.CompoundTag tag) -
fromClipboard
-
fromClipboard
public static net.minecraft.nbt.CompoundTag fromClipboard()
-