public class MailAddress extends java.lang.Object implements INbtWritable, IMailAddress
| Constructor and Description |
|---|
MailAddress() |
MailAddress(com.mojang.authlib.GameProfile gameProfile) |
MailAddress(net.minecraft.nbt.NBTTagCompound nbt) |
MailAddress(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName() |
com.mojang.authlib.GameProfile |
getPlayerProfile() |
EnumAddressee |
getType() |
int |
hashCode() |
boolean |
isValid() |
java.lang.String |
toString() |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
public MailAddress()
public MailAddress(com.mojang.authlib.GameProfile gameProfile)
public MailAddress(java.lang.String name)
public MailAddress(net.minecraft.nbt.NBTTagCompound nbt)
public EnumAddressee getType()
getType in interface IMailAddresspublic java.lang.String getName()
getName in interface IMailAddresspublic boolean isValid()
isValid in interface IMailAddresspublic com.mojang.authlib.GameProfile getPlayerProfile()
getPlayerProfile in interface IMailAddresspublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound)
writeToNBT in interface INbtWritable