Class AxolotlBucketTranslator
java.lang.Object
org.geysermc.geyser.translator.inventory.item.NbtItemStackTranslator
org.geysermc.geyser.translator.inventory.item.nbt.AxolotlBucketTranslator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptItem(ItemMapping mapping)
Gets whether this nbt translator takes in this item.void
translateToBedrock(GeyserSession session, com.github.steveice10.opennbt.tag.builtin.CompoundTag itemTag, ItemMapping mapping)
Translate the item NBT to BedrockMethods inherited from class org.geysermc.geyser.translator.inventory.item.NbtItemStackTranslator
translateToJava
-
Constructor Details
-
AxolotlBucketTranslator
public AxolotlBucketTranslator()
-
-
Method Details
-
translateToBedrock
public void translateToBedrock(GeyserSession session, com.github.steveice10.opennbt.tag.builtin.CompoundTag itemTag, ItemMapping mapping)Description copied from class:NbtItemStackTranslator
Translate the item NBT to Bedrock- Overrides:
translateToBedrock
in classNbtItemStackTranslator
- Parameters:
session
- the client's current sessionitemTag
- the item's CompoundTagmapping
- Geyser's item mapping
-
acceptItem
Description copied from class:NbtItemStackTranslator
Gets whether this nbt translator takes in this item.- Overrides:
acceptItem
in classNbtItemStackTranslator
- Parameters:
mapping
- Geyser's item mapping- Returns:
- if the item should be processed under this class
-