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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
translate(GeyserSession session, com.github.steveice10.mc.protocol.packet.ingame.clientbound.ClientboundRecipePacket packet)
Methods inherited from class org.geysermc.geyser.translator.protocol.PacketTranslator
shouldExecuteInEventLoop
-
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 classPacketTranslator<com.github.steveice10.mc.protocol.packet.ingame.clientbound.ClientboundRecipePacket>
-