public final class NBTUtil
extends java.lang.Object
Constructor and Description |
---|
NBTUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
areNBTEquals(NBTBase nbt1,
NBTBase nbt2,
boolean compareTagList) |
static NBTTagCompound |
createPosTag(BlockPos pos) |
static NBTTagCompound |
createUUIDTag(java.util.UUID uuid) |
static BlockPos |
getPosFromTag(NBTTagCompound tag) |
static java.util.UUID |
getUUIDFromTag(NBTTagCompound tag) |
static com.mojang.authlib.GameProfile |
readGameProfileFromNBT(NBTTagCompound compound) |
static NBTTagCompound |
writeGameProfile(NBTTagCompound tagCompound,
com.mojang.authlib.GameProfile profile) |
@Nullable public static com.mojang.authlib.GameProfile readGameProfileFromNBT(NBTTagCompound compound)
public static NBTTagCompound writeGameProfile(NBTTagCompound tagCompound, com.mojang.authlib.GameProfile profile)
public static NBTTagCompound createUUIDTag(java.util.UUID uuid)
public static java.util.UUID getUUIDFromTag(NBTTagCompound tag)
public static BlockPos getPosFromTag(NBTTagCompound tag)
public static NBTTagCompound createPosTag(BlockPos pos)