public abstract class BlockEntityTranslator extends Object
| Constructor and Description |
|---|
BlockEntityTranslator() |
| Modifier and Type | Method and Description |
|---|---|
com.nukkitx.nbt.tag.CompoundTag |
getBlockEntityTag(String id,
com.github.steveice10.opennbt.tag.builtin.CompoundTag tag,
com.github.steveice10.mc.protocol.data.game.world.block.BlockState blockState) |
protected com.nukkitx.nbt.tag.CompoundTag |
getConstantBedrockTag(String bedrockId,
int x,
int y,
int z) |
protected com.github.steveice10.opennbt.tag.builtin.CompoundTag |
getConstantJavaTag(String javaId,
int x,
int y,
int z) |
abstract com.nukkitx.nbt.tag.CompoundTag |
getDefaultBedrockTag(String bedrockId,
int x,
int y,
int z) |
abstract com.github.steveice10.opennbt.tag.builtin.CompoundTag |
getDefaultJavaTag(String javaId,
int x,
int y,
int z) |
protected <T> T |
getOrDefault(com.github.steveice10.opennbt.tag.builtin.Tag tag,
T defaultValue) |
abstract 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) |
public abstract 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)
public abstract com.github.steveice10.opennbt.tag.builtin.CompoundTag getDefaultJavaTag(String javaId, int x, int y, int z)
public abstract com.nukkitx.nbt.tag.CompoundTag getDefaultBedrockTag(String bedrockId, int x, int y, int z)
public com.nukkitx.nbt.tag.CompoundTag getBlockEntityTag(String id, com.github.steveice10.opennbt.tag.builtin.CompoundTag tag, com.github.steveice10.mc.protocol.data.game.world.block.BlockState blockState)
protected com.github.steveice10.opennbt.tag.builtin.CompoundTag getConstantJavaTag(String javaId, int x, int y, int z)
protected com.nukkitx.nbt.tag.CompoundTag getConstantBedrockTag(String bedrockId, int x, int y, int z)
protected <T> T getOrDefault(com.github.steveice10.opennbt.tag.builtin.Tag tag,
T defaultValue)
Copyright © 2020 GeyserMC. All rights reserved.