Class CustomItemTranslator
java.lang.Object
org.geysermc.geyser.translator.item.CustomItemTranslator
This is only a separate class for testing purposes so we don't have to load in GeyserImpl in ItemTranslator.
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable org.cloudburstmc.protocol.bedrock.data.definitions.ItemDefinitiongetCustomItem(org.geysermc.mcprotocollib.protocol.data.game.item.component.DataComponents components, ItemMapping mapping)
-
Method Details
-
getCustomItem
public static @Nullable org.cloudburstmc.protocol.bedrock.data.definitions.ItemDefinition getCustomItem(org.geysermc.mcprotocollib.protocol.data.game.item.component.DataComponents components, ItemMapping mapping)
-