Class CommandTreeS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.CommandTreeS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/CommandTreeS2CPacket
intermediary net/minecraft/class_2641
official adk
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
private static class
private static class
private static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, CommandTreeS2CPacket> private static final byte
private static final byte
private static final byte
private static final byte
private static final byte
private static final byte
private static final byte
private final List
<CommandTreeS2CPacket.CommandNodeData> private final int
-
Constructor Summary
ModifierConstructorDescriptionCommandTreeS2CPacket
(com.mojang.brigadier.tree.RootCommandNode<CommandSource> rootNode) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) private static List
<CommandTreeS2CPacket.CommandNodeData> collectNodes
(Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> nodes) private static CommandTreeS2CPacket.CommandNodeData
createNodeData
(com.mojang.brigadier.tree.CommandNode<CommandSource> node, Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> nodes) com.mojang.brigadier.tree.RootCommandNode
<CommandSource> getCommandTree
(CommandRegistryAccess commandRegistryAccess) private static @Nullable CommandTreeS2CPacket.SuggestableNode
readArgumentBuilder
(PacketByteBuf buf, byte flags) private static CommandTreeS2CPacket.CommandNodeData
private static Object2IntMap
<com.mojang.brigadier.tree.CommandNode<CommandSource>> traverse
(com.mojang.brigadier.tree.RootCommandNode<CommandSource> commandTree) private static void
validate
(List<CommandTreeS2CPacket.CommandNodeData> nodeDatas) private static void
validate
(List<CommandTreeS2CPacket.CommandNodeData> nodeDatas, BiPredicate<CommandTreeS2CPacket.CommandNodeData, IntSet> validator) 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 named CODEC
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_47914
Lnet/minecraft/class_2641;field_47914:Lnet/minecraft/class_9139;
official a
Ladk;a:Lzt;
-
field_33317
private static final byte field_33317- See Also:
- Mappings:
Namespace Name Mixin selector named field_33317
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;field_33317:B
intermediary field_33317
Lnet/minecraft/class_2641;field_33317:B
official b
Ladk;b:B
-
field_33318
private static final byte field_33318- See Also:
- Mappings:
Namespace Name Mixin selector named field_33318
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;field_33318:B
intermediary field_33318
Lnet/minecraft/class_2641;field_33318:B
official c
Ladk;c:B
-
field_33319
private static final byte field_33319- See Also:
- Mappings:
Namespace Name Mixin selector named field_33319
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;field_33319:B
intermediary field_33319
Lnet/minecraft/class_2641;field_33319:B
official d
Ladk;d:B
-
field_33320
private static final byte field_33320- See Also:
- Mappings:
Namespace Name Mixin selector named field_33320
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;field_33320:B
intermediary field_33320
Lnet/minecraft/class_2641;field_33320:B
official e
Ladk;e:B
-
field_33321
private static final byte field_33321- See Also:
- Mappings:
Namespace Name Mixin selector named field_33321
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;field_33321:B
intermediary field_33321
Lnet/minecraft/class_2641;field_33321:B
official f
Ladk;f:B
-
field_33322
private static final byte field_33322- See Also:
- Mappings:
Namespace Name Mixin selector named field_33322
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;field_33322:B
intermediary field_33322
Lnet/minecraft/class_2641;field_33322:B
official g
Ladk;g:B
-
field_33323
private static final byte field_33323- See Also:
- Mappings:
Namespace Name Mixin selector named field_33323
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;field_33323:B
intermediary field_33323
Lnet/minecraft/class_2641;field_33323:B
official h
Ladk;h:B
-
rootSize
private final int rootSize- Mappings:
Namespace Name Mixin selector named rootSize
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;rootSize:I
intermediary field_38038
Lnet/minecraft/class_2641;field_38038:I
official i
Ladk;i:I
-
nodes
- Mappings:
Namespace Name Mixin selector named nodes
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;nodes:Ljava/util/List;
intermediary field_38039
Lnet/minecraft/class_2641;field_38039:Ljava/util/List;
official j
Ladk;j:Ljava/util/List;
-
-
Constructor Details
-
CommandTreeS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;<init>(Lcom/mojang/brigadier/tree/RootCommandNode;)V
intermediary <init>
Lnet/minecraft/class_2641;<init>(Lcom/mojang/brigadier/tree/RootCommandNode;)V
official <init>
Ladk;<init>(Lcom/mojang/brigadier/tree/RootCommandNode;)V
-
CommandTreeS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2641;<init>(Lnet/minecraft/class_2540;)V
official <init>
Ladk;<init>(Lws;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55867
Lnet/minecraft/class_2641;method_55867(Lnet/minecraft/class_2540;)V
official a
Ladk;a(Lws;)V
-
validate
private static void validate(List<CommandTreeS2CPacket.CommandNodeData> nodeDatas, BiPredicate<CommandTreeS2CPacket.CommandNodeData, IntSet> validator) - Mappings:
Namespace Name Mixin selector named validate
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;validate(Ljava/util/List;Ljava/util/function/BiPredicate;)V
intermediary method_42067
Lnet/minecraft/class_2641;method_42067(Ljava/util/List;Ljava/util/function/BiPredicate;)V
official a
Ladk;a(Ljava/util/List;Ljava/util/function/BiPredicate;)V
-
validate
- Mappings:
Namespace Name Mixin selector named validate
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;validate(Ljava/util/List;)V
intermediary method_30946
Lnet/minecraft/class_2641;method_30946(Ljava/util/List;)V
official a
Ladk;a(Ljava/util/List;)V
-
traverse
private static Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> traverse(com.mojang.brigadier.tree.RootCommandNode<CommandSource> commandTree) - Mappings:
Namespace Name Mixin selector named traverse
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;traverse(Lcom/mojang/brigadier/tree/RootCommandNode;)Lit/unimi/dsi/fastutil/objects/Object2IntMap;
intermediary method_30944
Lnet/minecraft/class_2641;method_30944(Lcom/mojang/brigadier/tree/RootCommandNode;)Lit/unimi/dsi/fastutil/objects/Object2IntMap;
official a
Ladk;a(Lcom/mojang/brigadier/tree/RootCommandNode;)Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
collectNodes
private static List<CommandTreeS2CPacket.CommandNodeData> collectNodes(Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> nodes) - Mappings:
Namespace Name Mixin selector named collectNodes
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;collectNodes(Lit/unimi/dsi/fastutil/objects/Object2IntMap;)Ljava/util/List;
intermediary method_30945
Lnet/minecraft/class_2641;method_30945(Lit/unimi/dsi/fastutil/objects/Object2IntMap;)Ljava/util/List;
official a
Ladk;a(Lit/unimi/dsi/fastutil/objects/Object2IntMap;)Ljava/util/List;
-
readCommandNode
- Mappings:
Namespace Name Mixin selector named readCommandNode
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;readCommandNode(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$CommandNodeData;
intermediary method_11405
Lnet/minecraft/class_2641;method_11405(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2641$class_2642;
official b
Ladk;b(Lws;)Ladk$b;
-
readArgumentBuilder
@Nullable private static @Nullable CommandTreeS2CPacket.SuggestableNode readArgumentBuilder(PacketByteBuf buf, byte flags) - Mappings:
Namespace Name Mixin selector named readArgumentBuilder
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;readArgumentBuilder(Lnet/minecraft/network/PacketByteBuf;B)Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$SuggestableNode;
intermediary method_11402
Lnet/minecraft/class_2641;method_11402(Lnet/minecraft/class_2540;B)Lnet/minecraft/class_2641$class_7235;
official a
Ladk;a(Lws;B)Ladk$e;
-
createNodeData
private static CommandTreeS2CPacket.CommandNodeData createNodeData(com.mojang.brigadier.tree.CommandNode<CommandSource> node, Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> nodes) - Mappings:
Namespace Name Mixin selector named createNodeData
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;createNodeData(Lcom/mojang/brigadier/tree/CommandNode;Lit/unimi/dsi/fastutil/objects/Object2IntMap;)Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$CommandNodeData;
intermediary method_11401
Lnet/minecraft/class_2641;method_11401(Lcom/mojang/brigadier/tree/CommandNode;Lit/unimi/dsi/fastutil/objects/Object2IntMap;)Lnet/minecraft/class_2641$class_2642;
official a
Ladk;a(Lcom/mojang/brigadier/tree/CommandNode;Lit/unimi/dsi/fastutil/objects/Object2IntMap;)Ladk$b;
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Laac;a()Laae;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_11404
Lnet/minecraft/class_2641;method_11404(Lnet/minecraft/class_2602;)V
official a
Ladk;a(Lacr;)V
-
getCommandTree
public com.mojang.brigadier.tree.RootCommandNode<CommandSource> getCommandTree(CommandRegistryAccess commandRegistryAccess) - Mappings:
Namespace Name Mixin selector named getCommandTree
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;getCommandTree(Lnet/minecraft/command/CommandRegistryAccess;)Lcom/mojang/brigadier/tree/RootCommandNode;
intermediary method_11403
Lnet/minecraft/class_2641;method_11403(Lnet/minecraft/class_7157;)Lcom/mojang/brigadier/tree/RootCommandNode;
official a
Ladk;a(Les;)Lcom/mojang/brigadier/tree/RootCommandNode;
-