public interface BlockChangeRecord
Modifier and Type | Method and Description |
---|---|
int |
getBlockId() |
byte |
getSectionX()
Returns the relative x coordinate within the chunk section.
|
byte |
getSectionY()
Returns the relative y coordinate within the chunk section.
|
byte |
getSectionZ()
Returns the relative z coordinate within the chunk section.
|
default short |
getY()
Returns the absolute y coordinate - only works for sub 1.16 protocols.
|
short |
getY(int chunkSectionY)
Returns the absolute y coordinate based on the given chunk section y.
|
void |
setBlockId(int blockId) |
byte getSectionX()
byte getSectionY()
byte getSectionZ()
short getY(int chunkSectionY)
chunkSectionY
- chunk sectiondefault short getY()
int getBlockId()
void setBlockId(int blockId)