public class BlockChangeRecord1_8 extends Object implements BlockChangeRecord
Constructor and Description |
---|
BlockChangeRecord1_8(byte sectionX,
short y,
byte sectionZ,
int blockId) |
BlockChangeRecord1_8(int sectionX,
int y,
int sectionZ,
int blockId) |
Modifier and Type | Method and Description |
---|---|
int |
getBlockId() |
byte |
getSectionX() |
byte |
getSectionY() |
byte |
getSectionZ() |
short |
getY(int chunkSectionY) |
void |
setBlockId(int blockId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getY
public BlockChangeRecord1_8(byte sectionX, short y, byte sectionZ, int blockId)
public BlockChangeRecord1_8(int sectionX, int y, int sectionZ, int blockId)
public byte getSectionX()
getSectionX
in interface BlockChangeRecord
public byte getSectionY()
getSectionY
in interface BlockChangeRecord
public short getY(int chunkSectionY)
getY
in interface BlockChangeRecord
chunkSectionY
- chunk sectionpublic byte getSectionZ()
getSectionZ
in interface BlockChangeRecord
public int getBlockId()
getBlockId
in interface BlockChangeRecord
public void setBlockId(int blockId)
setBlockId
in interface BlockChangeRecord
Copyright © 2016–2021. All rights reserved.