public class LevelPaletteManager extends Object
| Constructor and Description |
|---|
LevelPaletteManager() |
| Modifier and Type | Method and Description |
|---|---|
int |
fromLegacy(int id,
byte data) |
Optional<BlockState> |
getBlockState(int runtimeId) |
io.netty.buffer.ByteBuf |
getCachedPallete() |
int |
getOrCreateRuntimeId(BlockState state) |
public Optional<BlockState> getBlockState(int runtimeId)
public int getOrCreateRuntimeId(BlockState state)
public int fromLegacy(int id,
byte data)
public io.netty.buffer.ByteBuf getCachedPallete()
Copyright © 2017–2019 NukkitX. All rights reserved.