public class SkullBlockEntityTranslator extends BlockEntityTranslator implements RequiresBlockState
| Constructor and Description |
|---|
SkullBlockEntityTranslator() |
| Modifier and Type | Method and Description |
|---|---|
com.nukkitx.nbt.tag.CompoundTag |
getDefaultBedrockTag(String bedrockId,
int x,
int y,
int z) |
com.github.steveice10.opennbt.tag.builtin.CompoundTag |
getDefaultJavaTag(String javaId,
int x,
int y,
int z) |
boolean |
isBlock(com.github.steveice10.mc.protocol.data.game.world.block.BlockState blockState)
Determines if block is part of class
|
List<com.nukkitx.nbt.tag.Tag<?>> |
translateTag(com.github.steveice10.opennbt.tag.builtin.CompoundTag tag,
com.github.steveice10.mc.protocol.data.game.world.block.BlockState blockState) |
getBlockEntityTag, getConstantBedrockTag, getConstantJavaTag, getOrDefaultpublic boolean isBlock(com.github.steveice10.mc.protocol.data.game.world.block.BlockState blockState)
RequiresBlockStateisBlock in interface RequiresBlockStateblockState - BlockState to be comparedpublic List<com.nukkitx.nbt.tag.Tag<?>> translateTag(com.github.steveice10.opennbt.tag.builtin.CompoundTag tag, com.github.steveice10.mc.protocol.data.game.world.block.BlockState blockState)
translateTag in class BlockEntityTranslatorpublic com.github.steveice10.opennbt.tag.builtin.CompoundTag getDefaultJavaTag(String javaId, int x, int y, int z)
getDefaultJavaTag in class BlockEntityTranslatorpublic com.nukkitx.nbt.tag.CompoundTag getDefaultBedrockTag(String bedrockId, int x, int y, int z)
getDefaultBedrockTag in class BlockEntityTranslatorCopyright © 2020 GeyserMC. All rights reserved.