Class CreativeInventoryActionC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.CreativeInventoryActionC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class CreativeInventoryActionC2SPacket extends Object implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
official aho
intermediary net/minecraft/class_2873
named net/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      official a Laho;a:Lys;
      intermediary field_48219 Lnet/minecraft/class_2873;field_48219:Lnet/minecraft/class_9139;
      named CODEC Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
    • slot

      private final int slot
      Mappings:
      Namespace Name Mixin selector
      official b Laho;b:I
      intermediary field_13071 Lnet/minecraft/class_2873;field_13071:I
      named slot Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;slot:I
    • stack

      private final ItemStack stack
      Mappings:
      Namespace Name Mixin selector
      official c Laho;c:Lcsz;
      intermediary field_13070 Lnet/minecraft/class_2873;field_13070:Lnet/minecraft/class_1799;
      named stack Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;stack:Lnet/minecraft/item/ItemStack;
  • Constructor Details

    • CreativeInventoryActionC2SPacket

      public CreativeInventoryActionC2SPacket(int slot, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laho;<init>(ILcsz;)V
      intermediary <init> Lnet/minecraft/class_2873;<init>(ILnet/minecraft/class_1799;)V
      named <init> Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;<init>(ILnet/minecraft/item/ItemStack;)V
    • CreativeInventoryActionC2SPacket

      private CreativeInventoryActionC2SPacket(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laho;<init>(Lwf;)V
      intermediary <init> Lnet/minecraft/class_2873;<init>(Lnet/minecraft/class_9129;)V
      named <init> Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;<init>(Lnet/minecraft/network/RegistryByteBuf;)V
  • Method Details

    • write

      private void write(RegistryByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official a Laho;a(Lwf;)V
      intermediary method_55999 Lnet/minecraft/class_2873;method_55999(Lnet/minecraft/class_9129;)V
      named write Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;write(Lnet/minecraft/network/RegistryByteBuf;)V
    • getPacketId

      Specified by:
      getPacketId in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lzb;a()Lzd;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Laho;a(Lafz;)V
      intermediary method_12480 Lnet/minecraft/class_2873;method_12480(Lnet/minecraft/class_2792;)V
      named apply Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • getSlot

      public int getSlot()
      Mappings:
      Namespace Name Mixin selector
      official b Laho;b()I
      intermediary method_12481 Lnet/minecraft/class_2873;method_12481()I
      named getSlot Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;getSlot()I
    • getStack

      public ItemStack getStack()
      Mappings:
      Namespace Name Mixin selector
      official e Laho;e()Lcsz;
      intermediary method_12479 Lnet/minecraft/class_2873;method_12479()Lnet/minecraft/class_1799;
      named getStack Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;getStack()Lnet/minecraft/item/ItemStack;