public class BlockMappings extends Object
| Constructor and Description |
|---|
BlockMappings() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBedrockBlockId(int state) |
com.nukkitx.nbt.NbtMap |
getBedrockBlockNbt(String cleanJavaIdentifier) |
int |
getItemFrame(com.nukkitx.nbt.NbtMap tag) |
int |
getJavaBlockState(int bedrockId) |
boolean |
isItemFrame(int bedrockBlockRuntimeId) |
public int getBedrockBlockId(int state)
public int getJavaBlockState(int bedrockId)
public int getItemFrame(com.nukkitx.nbt.NbtMap tag)
public boolean isItemFrame(int bedrockBlockRuntimeId)
public com.nukkitx.nbt.NbtMap getBedrockBlockNbt(String cleanJavaIdentifier)
cleanJavaIdentifier - the clean Java identifier of the block to look upCopyright © 2021 GeyserMC. All rights reserved.