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 pu
intermediary net/minecraft/class_2639
named net/minecraft/network/packet/s2c/play/CommandSuggestionsS2CPacket
  • Field Details

    • completionId

      private int completionId
      Mappings:
      Namespace Name Mixin selector
      official a Lpu;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 com.mojang.brigadier.suggestion.Suggestions suggestions
      Mappings:
      Namespace Name Mixin selector
      official b Lpu;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()
    • CommandSuggestionsS2CPacket

      public CommandSuggestionsS2CPacket​(int completionId, com.mojang.brigadier.suggestion.Suggestions suggestions)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpu;<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
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lpa;b(Lnw;)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 Lpu;a(Lpd;)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

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

      @Environment(CLIENT) public com.mojang.brigadier.suggestion.Suggestions getSuggestions()
      Mappings:
      Namespace Name Mixin selector
      official c Lpu;c()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;