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 Summary
Fields Modifier and Type Field Description private int
completionId
private com.mojang.brigadier.suggestion.Suggestions
suggestions
-
Constructor Summary
Constructors Constructor Description CommandSuggestionsS2CPacket()
CommandSuggestionsS2CPacket(int completionId, com.mojang.brigadier.suggestion.Suggestions suggestions)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
int
getCompletionId()
com.mojang.brigadier.suggestion.Suggestions
getSuggestions()
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
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
- Specified by:
read
in interfacePacket<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
- Specified by:
write
in interfacePacket<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
- Specified by:
apply
in interfacePacket<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
- 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
- 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;
-