Class CommandTreeS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.CommandTreeS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class CommandTreeS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official pv
intermediary net/minecraft/class_2641
named net/minecraft/network/packet/s2c/play/CommandTreeS2CPacket
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
CommandTreeS2CPacket.CommandNodeData
-
Field Summary
Fields Modifier and Type Field Description private com.mojang.brigadier.tree.RootCommandNode<CommandSource>
commandTree
-
Constructor Summary
Constructors Constructor Description CommandTreeS2CPacket()
CommandTreeS2CPacket(com.mojang.brigadier.tree.RootCommandNode<CommandSource> commandTree)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
com.mojang.brigadier.tree.RootCommandNode<CommandSource>
getCommandTree()
private static Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>>
method_30944(com.mojang.brigadier.tree.RootCommandNode<CommandSource> rootCommandNode)
private static com.mojang.brigadier.tree.CommandNode<CommandSource>[]
method_30945(Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> object2IntMap)
private static void
method_30946(CommandTreeS2CPacket.CommandNodeData[] commandNodeData)
void
read(PacketByteBuf buf)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
readArgumentBuilder(PacketByteBuf packetByteBuf, byte byte2)
private static CommandTreeS2CPacket.CommandNodeData
readCommandNode(PacketByteBuf packetByteBuf)
void
write(PacketByteBuf buf)
private static void
writeNode(PacketByteBuf packetByteBuf, com.mojang.brigadier.tree.CommandNode<CommandSource> commandNode, Map<com.mojang.brigadier.tree.CommandNode<CommandSource>,Integer> map)
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
-
commandTree
- Mappings:
Namespace Name Mixin selector official a
Lpv;a: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
public CommandTreeS2CPacket() -
CommandTreeS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lpv;<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
-
-
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
-
method_30946
- Mappings:
Namespace Name Mixin selector official a
Lpv;a([Lpv$a;)V
intermediary method_30946
Lnet/minecraft/class_2641;method_30946([Lnet/minecraft/class_2641$class_2642;)V
named method_30946
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;method_30946([Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$CommandNodeData;)V
-
method_30944
private static Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> method_30944(com.mojang.brigadier.tree.RootCommandNode<CommandSource> rootCommandNode)- Mappings:
Namespace Name Mixin selector official a
Lpv;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 method_30944
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;method_30944(Lcom/mojang/brigadier/tree/RootCommandNode;)Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
method_30945
private static com.mojang.brigadier.tree.CommandNode<CommandSource>[] method_30945(Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> object2IntMap)- Mappings:
Namespace Name Mixin selector official a
Lpv;a(Lit/unimi/dsi/fastutil/objects/Object2IntMap;)[Lcom/mojang/brigadier/tree/CommandNode;
intermediary method_30945
Lnet/minecraft/class_2641;method_30945(Lit/unimi/dsi/fastutil/objects/Object2IntMap;)[Lcom/mojang/brigadier/tree/CommandNode;
named method_30945
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket;method_30945(Lit/unimi/dsi/fastutil/objects/Object2IntMap;)[Lcom/mojang/brigadier/tree/CommandNode;
-
readCommandNode
- Mappings:
Namespace Name Mixin selector official c
Lpv;c(Lnw;)Lpv$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 com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> readArgumentBuilder(PacketByteBuf packetByteBuf, byte byte2)- Mappings:
Namespace Name Mixin selector official a
Lpv;a(Lnw;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 packetByteBuf, com.mojang.brigadier.tree.CommandNode<CommandSource> commandNode, Map<com.mojang.brigadier.tree.CommandNode<CommandSource>,Integer> map)- Mappings:
Namespace Name Mixin selector official a
Lpv;a(Lnw;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
Lpv;a(Lpd;)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
@Environment(CLIENT) public com.mojang.brigadier.tree.RootCommandNode<CommandSource> getCommandTree()- Mappings:
Namespace Name Mixin selector official b
Lpv;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;
-