public final class BlockEntityImpl extends java.lang.Object implements BlockEntity
Constructor and Description |
---|
BlockEntityImpl(byte packedXZ,
short y,
int typeId,
com.github.steveice10.opennbt.tag.builtin.CompoundTag tag) |
Modifier and Type | Method and Description |
---|---|
byte |
packedXZ() |
com.github.steveice10.opennbt.tag.builtin.CompoundTag |
tag() |
int |
typeId() |
BlockEntity |
withTypeId(int typeId) |
short |
y() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sectionX, sectionZ
public BlockEntityImpl(byte packedXZ, short y, int typeId, com.github.steveice10.opennbt.tag.builtin.CompoundTag tag)
public byte packedXZ()
packedXZ
in interface BlockEntity
public short y()
y
in interface BlockEntity
public int typeId()
typeId
in interface BlockEntity
public com.github.steveice10.opennbt.tag.builtin.CompoundTag tag()
tag
in interface BlockEntity
public BlockEntity withTypeId(int typeId)
withTypeId
in interface BlockEntity