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