public final class BlueprintId extends java.lang.Object implements java.lang.Comparable<BlueprintId>, ISerializable
| Modifier and Type | Class and Description |
|---|---|
static class |
BlueprintId.Kind |
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
completeId |
BlueprintId.Kind |
kind |
java.lang.String |
name |
byte[] |
uniqueId |
| Constructor and Description |
|---|
BlueprintId() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(BlueprintId o) |
boolean |
equals(java.lang.Object obj) |
void |
generateUniqueId(byte[] data) |
java.lang.String |
getCompleteId() |
int |
hashCode() |
void |
read(net.minecraft.nbt.NBTTagCompound nbt) |
void |
readData(io.netty.buffer.ByteBuf stream) |
static byte[] |
toBytes(java.lang.String suffix) |
java.lang.String |
toString() |
static java.lang.String |
toString(byte[] bytes) |
void |
write(net.minecraft.nbt.NBTTagCompound nbt) |
void |
writeData(io.netty.buffer.ByteBuf stream) |
public byte[] uniqueId
public java.lang.String name
public BlueprintId.Kind kind
public java.lang.String completeId
public void generateUniqueId(byte[] data)
public void write(net.minecraft.nbt.NBTTagCompound nbt)
public void read(net.minecraft.nbt.NBTTagCompound nbt)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getCompleteId()
public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(BlueprintId o)
compareTo in interface java.lang.Comparable<BlueprintId>public static java.lang.String toString(byte[] bytes)
public static byte[] toBytes(java.lang.String suffix)
public void readData(io.netty.buffer.ByteBuf stream)
readData in interface ISerializablepublic void writeData(io.netty.buffer.ByteBuf stream)
writeData in interface ISerializable