Class JavaRecipeTranslator

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

public class JavaRecipeTranslator extends PacketTranslator<com.github.steveice10.mc.protocol.packet.ingame.clientbound.ClientboundRecipePacket>
Used to list recipes that we can definitely use the recipe book for (and therefore save on packet usage)
  • Constructor Details

    • JavaRecipeTranslator

      public JavaRecipeTranslator()
  • Method Details

    • translate

      public void translate(GeyserSession session, com.github.steveice10.mc.protocol.packet.ingame.clientbound.ClientboundRecipePacket packet)
      Specified by:
      translate in class PacketTranslator<com.github.steveice10.mc.protocol.packet.ingame.clientbound.ClientboundRecipePacket>