package vg.civcraft.mc.civmodcore.nbt;

import lombok.experimental.UtilityClass;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.ListTag;
import net.minecraft.nbt.Tag;

/**
 * NBT Type IDs for usage with:
 *
 * <ul>
 *     <li>{@link CompoundTag#contains(String, int)}}</li>
 *     <li>{@link Tag#getType()} ()}</li>
 *     <li>{@link ListTag#getId()} // list element type</li>
 *     <li>etc...</li>
 * </ul>
 *
 * This is a better version of {@link org.bukkit.craftbukkit.v1_18_R1.util.CraftMagicNumbers}
 */
@UtilityClass
public final class NBTType {

	public static final byte END = (byte) 0;
	public static final byte BYTE = (byte) 1;
	public static final byte SHORT = (byte) 2;
	public static final byte INT = (byte) 3;
	public static final byte LONG = (byte) 4;
	public static final byte FLOAT = (byte) 5;
	public static final byte DOUBLE = (byte) 6;
	public static final byte BYTE_ARRAY = (byte) 7;
	public static final byte STRING = (byte) 8;
	public static final byte LIST = (byte) 9;
	public static final byte COMPOUND = (byte) 10;
	public static final byte INT_ARRAY = (byte) 11;
	public static final byte LONG_ARRAY = (byte) 12;

}

@@ -489,17 +489,17 @@
 .v1_18_R
-1
+2
 .util.Cr

Update link