Class SynchronizeRecipesS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.SynchronizeRecipesS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class SynchronizeRecipesS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
official ut
intermediary net/minecraft/class_2788
named net/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket
  • Field Details

    • recipes

      private final List<Recipe<?>> recipes
      Mappings:
      Namespace Name Mixin selector
      official a Lut;a:Ljava/util/List;
      intermediary field_12751 Lnet/minecraft/class_2788;field_12751:Ljava/util/List;
      named recipes Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;recipes:Ljava/util/List;
  • Constructor Details

    • SynchronizeRecipesS2CPacket

      public SynchronizeRecipesS2CPacket(Collection<Recipe<?>> recipes)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lut;<init>(Ljava/util/Collection;)V
      intermediary <init> Lnet/minecraft/class_2788;<init>(Ljava/util/Collection;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;<init>(Ljava/util/Collection;)V
    • SynchronizeRecipesS2CPacket

      public SynchronizeRecipesS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lut;<init>(Lpn;)V
      intermediary <init> Lnet/minecraft/class_2788;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lqr;a(Lpn;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lut;a(Lqu;)V
      intermediary method_11997 Lnet/minecraft/class_2788;method_11997(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getRecipes

      public List<Recipe<?>> getRecipes()
      Mappings:
      Namespace Name Mixin selector
      official b Lut;b()Ljava/util/List;
      intermediary method_11998 Lnet/minecraft/class_2788;method_11998()Ljava/util/List;
      named getRecipes Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;getRecipes()Ljava/util/List;
    • readRecipe

      public static Recipe<?> readRecipe(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official b Lut;b(Lpn;)Lbww;
      intermediary method_17817 Lnet/minecraft/class_2788;method_17817(Lnet/minecraft/class_2540;)Lnet/minecraft/class_1860;
      named readRecipe Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;readRecipe(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/recipe/Recipe;
    • writeRecipe

      public static <T extends Recipe<?>> void writeRecipe(PacketByteBuf buf, T recipe)
      Mappings:
      Namespace Name Mixin selector
      official a Lut;a(Lpn;Lbww;)V
      intermediary method_17816 Lnet/minecraft/class_2788;method_17816(Lnet/minecraft/class_2540;Lnet/minecraft/class_1860;)V
      named writeRecipe Lnet/minecraft/network/packet/s2c/play/SynchronizeRecipesS2CPacket;writeRecipe(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/recipe/Recipe;)V