Class JavaUpdateRecipesTranslator

java.lang.Object
org.geysermc.geyser.translator.protocol.PacketTranslator<org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.ClientboundUpdateRecipesPacket>
org.geysermc.geyser.translator.protocol.java.JavaUpdateRecipesTranslator

public class JavaUpdateRecipesTranslator extends PacketTranslator<org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.ClientboundUpdateRecipesPacket>
Used to send all valid recipes from Java to Bedrock.

Bedrock REQUIRES a CraftingDataPacket to be sent in order to craft anything.

  • Constructor Details

    • JavaUpdateRecipesTranslator

      public JavaUpdateRecipesTranslator()
  • Method Details

    • translate

      public void translate(GeyserSession session, org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.ClientboundUpdateRecipesPacket packet)
      Specified by:
      translate in class PacketTranslator<org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.ClientboundUpdateRecipesPacket>