Class CompassTranslator
java.lang.Object
org.geysermc.geyser.translator.inventory.item.ItemTranslator
org.geysermc.geyser.translator.inventory.item.CompassTranslator
-
Field Summary
Fields inherited from class org.geysermc.geyser.translator.inventory.item.ItemTranslator
ITEM_STACK_TRANSLATORS, NBT_TRANSLATORS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.nukkitx.protocol.bedrock.data.inventory.ItemData.Builder
translateToBedrock(com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack itemStack, ItemMapping mapping, ItemMappings mappings)
com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack
translateToJava(com.nukkitx.protocol.bedrock.data.inventory.ItemData itemData, ItemMapping mapping, ItemMappings mappings)
Methods inherited from class org.geysermc.geyser.translator.inventory.item.ItemTranslator
equals, init, translateDisplayProperties, translateDisplayProperties, translateNbtToBedrock, translateToBedrock, translateToJava, translateToJavaNBT
-
Constructor Details
-
CompassTranslator
public CompassTranslator()
-
-
Method Details
-
translateToBedrock
public com.nukkitx.protocol.bedrock.data.inventory.ItemData.Builder translateToBedrock(com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack itemStack, ItemMapping mapping, ItemMappings mappings)- Overrides:
translateToBedrock
in classItemTranslator
-
translateToJava
public com.github.steveice10.mc.protocol.data.game.entity.metadata.ItemStack translateToJava(com.nukkitx.protocol.bedrock.data.inventory.ItemData itemData, ItemMapping mapping, ItemMappings mappings)- Overrides:
translateToJava
in classItemTranslator
-
getAppliedItems
- Specified by:
getAppliedItems
in classItemTranslator
-