Package net.minecraft.nbt
Class NBTUtil
- java.lang.Object
-
- net.minecraft.nbt.NBTUtil
-
public final class NBTUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NBTUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
func_181123_a(NBTBase parNBTBase, NBTBase parNBTBase2, boolean parFlag)
static GameProfile
readGameProfileFromNBT(NBTTagCompound compound)
+ Reads and returns a GameProfile that has been saved to the passed in NBTTagCompoundstatic NBTTagCompound
writeGameProfile(NBTTagCompound tagCompound, GameProfile profile)
+ Writes a GameProfile to an NBTTagCompound.
-
-
-
Method Detail
-
readGameProfileFromNBT
public static GameProfile readGameProfileFromNBT(NBTTagCompound compound)
+ Reads and returns a GameProfile that has been saved to the passed in NBTTagCompound
-
writeGameProfile
public static NBTTagCompound writeGameProfile(NBTTagCompound tagCompound, GameProfile profile)
+ Writes a GameProfile to an NBTTagCompound.
-
-