Class SetChemPlantRecipeC2SPacket

java.lang.Object
com.hbm_m.network.SetChemPlantRecipeC2SPacket
All Implemented Interfaces:
C2SPacket

public class SetChemPlantRecipeC2SPacket extends Object implements C2SPacket
  • Constructor Details

    • SetChemPlantRecipeC2SPacket

      public SetChemPlantRecipeC2SPacket(net.minecraft.core.BlockPos blockPos, @Nullable net.minecraft.resources.ResourceLocation recipeId)
  • Method Details

    • decode

      public static SetChemPlantRecipeC2SPacket decode(net.minecraft.network.FriendlyByteBuf buf)
    • write

      public void write(net.minecraft.network.FriendlyByteBuf buf)
      Specified by:
      write in interface C2SPacket
    • handle

      public static void handle(SetChemPlantRecipeC2SPacket msg, dev.architectury.networking.NetworkManager.PacketContext context)
    • sendToServer

      public static void sendToServer(net.minecraft.core.BlockPos blockPos, @Nullable net.minecraft.resources.ResourceLocation recipeId)