@Deprecated
public interface MetadataUtil
| Modifier and Type | Method and Description |
|---|---|
DataWatcher |
getDataWatcher(org.bukkit.entity.Entity entity)
Deprecated.
Get the
DataWatcher of the passed Entity |
NBTTagCompound |
getNBTTag(org.bukkit.entity.Entity entity)
Deprecated.
Get a new
NBTTagCompound of the given Entity |
<V,T extends NBTBase> |
nbtOf(NBTTagType<T> type,
V value)
Deprecated.
Create a new child instance of
NBTBase |
void |
setNBTTag(org.bukkit.entity.Entity entity,
NBTTagCompound nbtTagCompound)
Deprecated.
Set to the given
Entity the given NBTTagCompound |
DataWatcher getDataWatcher(org.bukkit.entity.Entity entity)
DataWatcher of the passed Entityentity - the DataWatcher's ownerDataWatcher of the given EntityNBTTagCompound getNBTTag(org.bukkit.entity.Entity entity)
NBTTagCompound of the given Entityentity - the NBTTagCompound's ownerNBTTagCompound instance with Entity's datavoid setNBTTag(org.bukkit.entity.Entity entity,
NBTTagCompound nbtTagCompound)
Entity the given NBTTagCompoundentity - the owner of data to editnbtTagCompound - the NBTTagCompound used to set entity's data<V,T extends NBTBase> T nbtOf(NBTTagType<T> type, V value)
NBTBaseV - the value's generic typeT - the new instance's generic typetype - the NBTTagType of this NBTBasevalue - the value to set in the new NBTBase instance