public static class Snapshot.Key
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
byte[] |
hash |
Snapshot.Header |
header |
Constructor and Description |
---|
Key() |
Key(net.minecraft.nbt.NBTTagCompound nbt) |
Key(PacketBufferBC buffer) |
Key(Snapshot.Key oldKey,
byte[] hash) |
Key(Snapshot.Key oldKey,
Snapshot.Header header) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
net.minecraft.nbt.NBTTagCompound |
serializeNBT() |
java.lang.String |
toString() |
void |
writeToByteBuf(PacketBufferBC buffer) |
public final byte[] hash
@Nullable public final Snapshot.Header header
public Key()
public Key(Snapshot.Key oldKey, byte[] hash)
public Key(Snapshot.Key oldKey, @Nullable Snapshot.Header header)
public Key(net.minecraft.nbt.NBTTagCompound nbt)
public Key(PacketBufferBC buffer)
public net.minecraft.nbt.NBTTagCompound serializeNBT()
public void writeToByteBuf(PacketBufferBC buffer)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object