Class CommandTreeS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.CommandTreeS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official rh
intermediary net/minecraft/class_2641
named net/minecraft/network/packet/s2c/play/CommandTreeS2CPacket
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final com.mojang.brigadier.tree.RootCommandNode<CommandSource>
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
-
Constructor Summary
ConstructorDescriptionCommandTreeS2CPacket
(com.mojang.brigadier.tree.RootCommandNode<CommandSource> commandTree) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) private static void
build
(List<CommandTreeS2CPacket.CommandNodeData> nodeDatas) private static List<com.mojang.brigadier.tree.CommandNode<CommandSource>>
collectNodes
(Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> nodes) com.mojang.brigadier.tree.RootCommandNode<CommandSource>
private static @Nullable com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,
?> readArgumentBuilder
(PacketByteBuf buf, byte byte2) private static CommandTreeS2CPacket.CommandNodeData
private static Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>>
traverse
(com.mojang.brigadier.tree.RootCommandNode<CommandSource> commandTree) void
write
(PacketByteBuf buf) private static void
writeNode
(PacketByteBuf buf, com.mojang.brigadier.tree.CommandNode<CommandSource> node, Map<com.mojang.brigadier.tree.CommandNode<CommandSource>, Integer> nodeToIndex) 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
-
field_33317
private static final byte field_33317- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lrh;a:B
intermediary field_33317
Lnet/minecraft/class_2641;field_33317:B
named field_33317
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;field_33317:B
-
field_33318
private static final byte field_33318- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lrh;b:B
intermediary field_33318
Lnet/minecraft/class_2641;field_33318:B
named field_33318
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;field_33318:B
-
field_33319
private static final byte field_33319- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lrh;c:B
intermediary field_33319
Lnet/minecraft/class_2641;field_33319:B
named field_33319
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;field_33319:B
-
field_33320
private static final byte field_33320- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lrh;d:B
intermediary field_33320
Lnet/minecraft/class_2641;field_33320:B
named field_33320
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;field_33320:B
-
field_33321
private static final byte field_33321- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lrh;e:B
intermediary field_33321
Lnet/minecraft/class_2641;field_33321:B
named field_33321
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;field_33321:B
-
field_33322
private static final byte field_33322- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lrh;f:B
intermediary field_33322
Lnet/minecraft/class_2641;field_33322:B
named field_33322
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;field_33322:B
-
field_33323
private static final byte field_33323- See Also:
- Mappings:
Namespace Name Mixin selector official g
Lrh;g:B
intermediary field_33323
Lnet/minecraft/class_2641;field_33323:B
named field_33323
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;field_33323:B
-
commandTree
- Mappings:
Namespace Name Mixin selector official h
Lrh;h:Lcom/mojang/brigadier/tree/RootCommandNode;
intermediary field_12123
Lnet/minecraft/class_2641;field_12123:Lcom/mojang/brigadier/tree/RootCommandNode;
named commandTree
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;commandTree:Lcom/mojang/brigadier/tree/RootCommandNode;
-
-
Constructor Details
-
CommandTreeS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lrh;<init>(Lcom/mojang/brigadier/tree/RootCommandNode;)V
intermediary <init>
Lnet/minecraft/class_2641;<init>(Lcom/mojang/brigadier/tree/RootCommandNode;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;<init>(Lcom/mojang/brigadier/tree/RootCommandNode;)V
-
CommandTreeS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lrh;<init>(Lph;)V
intermediary <init>
Lnet/minecraft/class_2641;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lql;a(Lph;)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
-
build
- Mappings:
Namespace Name Mixin selector official a
Lrh;a(Ljava/util/List;)V
intermediary method_30946
Lnet/minecraft/class_2641;method_30946(Ljava/util/List;)V
named build
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;build(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 official a
Lrh;a(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;
named traverse
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;traverse(Lcom/mojang/brigadier/tree/RootCommandNode;)Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
collectNodes
private static List<com.mojang.brigadier.tree.CommandNode<CommandSource>> collectNodes(Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> nodes) - Mappings:
Namespace Name Mixin selector official a
Lrh;a(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;
named collectNodes
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;collectNodes(Lit/unimi/dsi/fastutil/objects/Object2IntMap;)Ljava/util/List;
-
readCommandNode
- Mappings:
Namespace Name Mixin selector official b
Lrh;b(Lph;)Lrh$a;
intermediary method_11405
Lnet/minecraft/class_2641;method_11405(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2641$class_2642;
named readCommandNode
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;readCommandNode(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$CommandNodeData;
-
readArgumentBuilder
@Nullable private static @Nullable com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> readArgumentBuilder(PacketByteBuf buf, byte byte2) - Mappings:
Namespace Name Mixin selector official a
Lrh;a(Lph;B)Lcom/mojang/brigadier/builder/ArgumentBuilder;
intermediary method_11402
Lnet/minecraft/class_2641;method_11402(Lnet/minecraft/class_2540;B)Lcom/mojang/brigadier/builder/ArgumentBuilder;
named readArgumentBuilder
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;readArgumentBuilder(Lnet/minecraft/network/PacketByteBuf;B)Lcom/mojang/brigadier/builder/ArgumentBuilder;
-
writeNode
private static void writeNode(PacketByteBuf buf, com.mojang.brigadier.tree.CommandNode<CommandSource> node, Map<com.mojang.brigadier.tree.CommandNode<CommandSource>, Integer> nodeToIndex) - Mappings:
Namespace Name Mixin selector official a
Lrh;a(Lph;Lcom/mojang/brigadier/tree/CommandNode;Ljava/util/Map;)V
intermediary method_11401
Lnet/minecraft/class_2641;method_11401(Lnet/minecraft/class_2540;Lcom/mojang/brigadier/tree/CommandNode;Ljava/util/Map;)V
named writeNode
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;writeNode(Lnet/minecraft/network/PacketByteBuf;Lcom/mojang/brigadier/tree/CommandNode;Ljava/util/Map;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lrh;a(Lqo;)V
intermediary method_11404
Lnet/minecraft/class_2641;method_11404(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getCommandTree
- Mappings:
Namespace Name Mixin selector official b
Lrh;b()Lcom/mojang/brigadier/tree/RootCommandNode;
intermediary method_11403
Lnet/minecraft/class_2641;method_11403()Lcom/mojang/brigadier/tree/RootCommandNode;
named getCommandTree
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;getCommandTree()Lcom/mojang/brigadier/tree/RootCommandNode;
-