public class OwnerHandler extends java.lang.Object implements IOwnerHandler, IStreamable, INbtWritable, INbtReadable
| Constructor and Description |
|---|
OwnerHandler() |
| Modifier and Type | Method and Description |
|---|---|
com.mojang.authlib.GameProfile |
getOwner() |
void |
readData(PacketBufferForestry data) |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound data) |
void |
setOwner(com.mojang.authlib.GameProfile owner) |
void |
writeData(PacketBufferForestry data) |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound data) |
@Nullable public com.mojang.authlib.GameProfile getOwner()
getOwner in interface IOwnerHandlerpublic void setOwner(com.mojang.authlib.GameProfile owner)
setOwner in interface IOwnerHandlerpublic void writeData(PacketBufferForestry data)
writeData in interface IStreamablepublic void readData(PacketBufferForestry data)
readData in interface IStreamablepublic void readFromNBT(net.minecraft.nbt.NBTTagCompound data)
readFromNBT in interface INbtReadablepublic net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound data)
writeToNBT in interface INbtWritable