public class BannerBlockEntityTranslator extends BlockEntityTranslator implements RequiresBlockState
BLOCK_ENTITY_TRANSLATIONS, BLOCK_ENTITY_TRANSLATORS, REQUIRES_BLOCK_STATE_LIST| Constructor and Description |
|---|
BannerBlockEntityTranslator() |
| 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 boolean isBlock(int blockState)
RequiresBlockStateisBlock in interface RequiresBlockStateblockState - BlockState to be comparedpublic void translateTag(com.nukkitx.nbt.NbtMapBuilder builder,
com.github.steveice10.opennbt.tag.builtin.CompoundTag tag,
int blockState)
translateTag in class BlockEntityTranslatorCopyright © 2021 GeyserMC. All rights reserved.