Class JavaUpdateRecipesTranslator

java.lang.Object
org.geysermc.geyser.translator.protocol.PacketTranslator<com.github.steveice10.mc.protocol.packet.ingame.clientbound.ClientboundUpdateRecipesPacket>
org.geysermc.geyser.translator.protocol.java.JavaUpdateRecipesTranslator

public class JavaUpdateRecipesTranslator extends PacketTranslator<com.github.steveice10.mc.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, com.github.steveice10.mc.protocol.packet.ingame.clientbound.ClientboundUpdateRecipesPacket packet)
      Specified by:
      translate in class PacketTranslator<com.github.steveice10.mc.protocol.packet.ingame.clientbound.ClientboundUpdateRecipesPacket>