Class CommandSuggestionsS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.CommandSuggestionsS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official rm
intermediary net/minecraft/class_2639
named net/minecraft/network/packet/s2c/play/CommandSuggestionsS2CPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final com.mojang.brigadier.suggestion.Suggestions
-
Constructor Summary
ConstructorDescriptionCommandSuggestionsS2CPacket
(int completionId, com.mojang.brigadier.suggestion.Suggestions suggestions) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
com.mojang.brigadier.suggestion.Suggestions
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 final int completionId- Mappings:
Namespace Name Mixin selector official a
Lrm;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
Lrm;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>
Lrm;<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
- Mappings:
Namespace Name Mixin selector official <init>
Lrm;<init>(Lpn;)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
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lqr;a(Lpn;)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
Lrm;a(Lqu;)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 b
Lrm;b()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 c
Lrm;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;
-