Class CommandSuggestionsS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.CommandSuggestionsS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official aay
intermediary net/minecraft/class_2639
named net/minecraft/network/packet/s2c/play/CommandSuggestionsS2CPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<PacketByteBuf,
CommandSuggestionsS2CPacket> private final int
private final com.mojang.brigadier.suggestion.Suggestions
-
Constructor Summary
ConstructorsModifierConstructorDescriptionCommandSuggestionsS2CPacket
(int completionId, com.mojang.brigadier.suggestion.Suggestions suggestions) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
com.mojang.brigadier.suggestion.Suggestions
private 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.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Laay;a:Lxo;
intermediary field_47913
Lnet/minecraft/class_2639;field_47913:Lnet/minecraft/class_9139;
named CODEC
Lnet/minecraft/network/packet/s2c/play/CommandSuggestionsS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
completionId
private final int completionId- Mappings:
Namespace Name Mixin selector official b
Laay;b: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 c
Laay;c: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>
Laay;<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>
Laay;<init>(Luq;)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
- Mappings:
Namespace Name Mixin selector official a
Laay;a(Luq;)V
intermediary method_55866
Lnet/minecraft/class_2639;method_55866(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/s2c/play/CommandSuggestionsS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lxx;a()Lxz;
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
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Laay;a(Laag;)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
Laay;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 e
Laay;e()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;
-