public final class VoxelBlobStateReference extends java.lang.Object implements java.lang.Comparable<VoxelBlobStateReference>, IStateRef
| Modifier and Type | Field and Description |
|---|---|
long |
weight |
| Constructor and Description |
|---|
VoxelBlobStateReference(byte[] v,
long weight) |
VoxelBlobStateReference(int stateId,
long weight) |
VoxelBlobStateReference(VoxelBlob blob,
long weight) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(VoxelBlobStateReference o) |
boolean |
equals(java.lang.Object obj) |
java.util.Collection<net.minecraft.util.math.AxisAlignedBB> |
getBoxes(BoxType type) |
byte[] |
getByteArray() |
int |
getFormat() |
VoxelBlobStateInstance |
getInstance() |
VoxelBlob |
getVoxelBlob() |
VoxelBlob |
getVoxelBlobCatchable() |
int |
hashCode() |
public VoxelBlobStateReference(VoxelBlob blob, long weight)
public VoxelBlobStateReference(int stateId,
long weight)
public VoxelBlobStateReference(byte[] v,
long weight)
public VoxelBlobStateInstance getInstance()
public byte[] getByteArray()
public VoxelBlob getVoxelBlob()
getVoxelBlob in interface IStateRefpublic VoxelBlob getVoxelBlobCatchable() throws java.lang.Exception
java.lang.Exceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(VoxelBlobStateReference o)
compareTo in interface java.lang.Comparable<VoxelBlobStateReference>public java.util.Collection<net.minecraft.util.math.AxisAlignedBB> getBoxes(BoxType type)
public int getFormat()