public final class VoxelBlobStateInstance extends java.lang.Object implements java.lang.Comparable<VoxelBlobStateInstance>
Modifier and Type | Field and Description |
---|---|
protected java.lang.ref.SoftReference<VoxelBlob> |
blob |
int |
hash |
byte[] |
voxelBytes |
Constructor and Description |
---|
VoxelBlobStateInstance(byte[] data) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(VoxelBlobStateInstance o) |
boolean |
equals(java.lang.Object obj) |
VoxelBlob |
getBlob() |
VoxelBlob |
getBlobCatchable() |
java.util.Collection<net.minecraft.util.math.AxisAlignedBB> |
getBoxes(BoxType type) |
int |
getFormat() |
int |
hashCode() |
public final int hash
public final byte[] voxelBytes
protected java.lang.ref.SoftReference<VoxelBlob> blob
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(VoxelBlobStateInstance o)
compareTo
in interface java.lang.Comparable<VoxelBlobStateInstance>
public VoxelBlob getBlob()
public VoxelBlob getBlobCatchable() throws java.lang.Exception
java.lang.Exception
public java.util.Collection<net.minecraft.util.math.AxisAlignedBB> getBoxes(BoxType type)
public int getFormat()