public class CommandBlockBlockEntityTranslator extends BlockEntityTranslator implements RequiresBlockState
BLOCK_ENTITY_TRANSLATIONS, BLOCK_ENTITY_TRANSLATORS, REQUIRES_BLOCK_STATE_LIST| Constructor and Description |
|---|
CommandBlockBlockEntityTranslator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBlock(int blockState)
Determines if block is part of class
|
void |
translateTag(com.nukkitx.nbt.NbtMapBuilder builder,
com.github.steveice10.opennbt.tag.builtin.CompoundTag tag,
int blockState) |
getBlockEntityTag, getConstantBedrockTag, getConstantJavaTag, getOrDefault, initpublic void translateTag(com.nukkitx.nbt.NbtMapBuilder builder,
com.github.steveice10.opennbt.tag.builtin.CompoundTag tag,
int blockState)
translateTag in class BlockEntityTranslatorpublic boolean isBlock(int blockState)
RequiresBlockStateisBlock in interface RequiresBlockStateblockState - BlockState to be comparedCopyright © 2020 GeyserMC. All rights reserved.