public class ItemTranslator extends Object
| Constructor and Description |
|---|
ItemTranslator() |
| Modifier and Type | Method and Description |
|---|---|
static BedrockItem |
getBedrockBlock(com.github.steveice10.mc.protocol.data.game.world.block.BlockState stack) |
static String |
getBedrockIdentifier(String javaIdentifier) |
static BedrockItem |
getBedrockItem(com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack stack) |
static String |
getJavaIdentifier(String bedrockIdentifier,
int data) |
static JavaItem |
getJavaItem(com.nukkitx.protocol.bedrock.data.ItemData data) |
static com.nukkitx.protocol.bedrock.data.ItemData |
translateToBedrock(com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack stack) |
static com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack |
translateToJava(com.nukkitx.protocol.bedrock.data.ItemData data) |
public static com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack translateToJava(com.nukkitx.protocol.bedrock.data.ItemData data)
public static com.nukkitx.protocol.bedrock.data.ItemData translateToBedrock(com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack stack)
public static BedrockItem getBedrockItem(com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack stack)
public static JavaItem getJavaItem(com.nukkitx.protocol.bedrock.data.ItemData data)
public static BedrockItem getBedrockBlock(com.github.steveice10.mc.protocol.data.game.world.block.BlockState stack)
Copyright © 2019 GeyserMC. All rights reserved.