public class SubChunkData
extends io.netty.util.AbstractReferenceCounted
| Constructor and Description |
|---|
SubChunkData() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
protected void |
deallocate() |
boolean |
equals(java.lang.Object o) |
long |
getBlobId() |
io.netty.buffer.ByteBuf |
getData() |
io.netty.buffer.ByteBuf |
getHeightMapData() |
HeightMapDataType |
getHeightMapType() |
org.cloudburstmc.math.vector.Vector3i |
getPosition() |
SubChunkRequestResult |
getResult() |
int |
hashCode() |
boolean |
isCacheEnabled() |
void |
setBlobId(long blobId) |
void |
setCacheEnabled(boolean cacheEnabled) |
void |
setData(io.netty.buffer.ByteBuf data) |
void |
setHeightMapData(io.netty.buffer.ByteBuf heightMapData) |
void |
setHeightMapType(HeightMapDataType heightMapType) |
void |
setPosition(org.cloudburstmc.math.vector.Vector3i position) |
void |
setResult(SubChunkRequestResult result) |
java.lang.String |
toString() |
SubChunkData |
touch(java.lang.Object o) |
public SubChunkData touch(java.lang.Object o)
protected void deallocate()
deallocate in class io.netty.util.AbstractReferenceCountedpublic org.cloudburstmc.math.vector.Vector3i getPosition()
public io.netty.buffer.ByteBuf getData()
public SubChunkRequestResult getResult()
public HeightMapDataType getHeightMapType()
public io.netty.buffer.ByteBuf getHeightMapData()
public boolean isCacheEnabled()
public long getBlobId()
public void setPosition(org.cloudburstmc.math.vector.Vector3i position)
public void setData(io.netty.buffer.ByteBuf data)
public void setResult(SubChunkRequestResult result)
public void setHeightMapType(HeightMapDataType heightMapType)
public void setHeightMapData(io.netty.buffer.ByteBuf heightMapData)
public void setCacheEnabled(boolean cacheEnabled)
public void setBlobId(long blobId)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Object