Class CommandSuggestionsS2CPacket

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

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

    • completionId

      private final int completionId
      Mappings:
      Namespace Name Mixin selector
      official a Lxn;a:I
      intermediary field_12122 Lnet/minecraft/class_2639;field_12122:I
      named completionId Lnet/minecraft/network/packet/s2c/play/CommandSuggestionsS2CPacket;completionId:I
    • suggestions

      private final com.mojang.brigadier.suggestion.Suggestions suggestions
      Mappings:
      Namespace Name Mixin selector
      official b Lxn;b:Lcom/mojang/brigadier/suggestion/Suggestions;
      intermediary field_12121 Lnet/minecraft/class_2639;field_12121:Lcom/mojang/brigadier/suggestion/Suggestions;
      named suggestions Lnet/minecraft/network/packet/s2c/play/CommandSuggestionsS2CPacket;suggestions:Lcom/mojang/brigadier/suggestion/Suggestions;
  • Constructor Details

    • CommandSuggestionsS2CPacket

      public CommandSuggestionsS2CPacket(int completionId, com.mojang.brigadier.suggestion.Suggestions suggestions)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxn;<init>(ILcom/mojang/brigadier/suggestion/Suggestions;)V
      intermediary <init> Lnet/minecraft/class_2639;<init>(ILcom/mojang/brigadier/suggestion/Suggestions;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/CommandSuggestionsS2CPacket;<init>(ILcom/mojang/brigadier/suggestion/Suggestions;)V
    • CommandSuggestionsS2CPacket

      public CommandSuggestionsS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxn;<init>(Lso;)V
      intermediary <init> Lnet/minecraft/class_2639;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/CommandSuggestionsS2CPacket;<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 Lvd;a(Lso;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/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 Lxn;a(Lww;)V
      intermediary method_11398 Lnet/minecraft/class_2639;method_11398(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/CommandSuggestionsS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getCompletionId

      public int getCompletionId()
      Mappings:
      Namespace Name Mixin selector
      official a Lxn;a()I
      intermediary method_11399 Lnet/minecraft/class_2639;method_11399()I
      named getCompletionId Lnet/minecraft/network/packet/s2c/play/CommandSuggestionsS2CPacket;getCompletionId()I
    • getSuggestions

      public com.mojang.brigadier.suggestion.Suggestions getSuggestions()
      Mappings:
      Namespace Name Mixin selector
      official d Lxn;d()Lcom/mojang/brigadier/suggestion/Suggestions;
      intermediary method_11397 Lnet/minecraft/class_2639;method_11397()Lcom/mojang/brigadier/suggestion/Suggestions;
      named getSuggestions Lnet/minecraft/network/packet/s2c/play/CommandSuggestionsS2CPacket;getSuggestions()Lcom/mojang/brigadier/suggestion/Suggestions;