public class BlockStorage extends Object
| Constructor and Description |
|---|
BlockStorage() |
BlockStorage(short[] indexes,
int[] ids) |
| Modifier and Type | Method and Description |
|---|---|
BlockStorage |
copy() |
int |
getBlockId(int xyz) |
int[] |
getIds() |
boolean |
isEmpty() |
void |
replaceBlockIds(int oldId,
int newId) |
void |
setBlockId(int xyz,
int id) |
void |
writeTo(io.netty.buffer.ByteBuf buf) |
public BlockStorage(short[] indexes,
int[] ids)
public BlockStorage()
public int getBlockId(int xyz)
public void setBlockId(int xyz,
int id)
public void replaceBlockIds(int oldId,
int newId)
public boolean isEmpty()
public int[] getIds()
public BlockStorage copy()
public void writeTo(io.netty.buffer.ByteBuf buf)
Copyright © 2017–2019 NukkitX. All rights reserved.