Class CommandTreeS2CPacket.ArgumentNode
java.lang.Object
net.minecraft.network.packet.s2c.play.CommandTreeS2CPacket.ArgumentNode
- All Implemented Interfaces:
CommandTreeS2CPacket.SuggestableNode
- Enclosing class:
CommandTreeS2CPacket
private static class CommandTreeS2CPacket.ArgumentNode
extends Object
implements CommandTreeS2CPacket.SuggestableNode
- Mappings:
Namespace Name official zs$a
intermediary net/minecraft/class_2641$class_7232
named net/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode
-
Field Summary
Modifier and TypeFieldDescriptionprivate final @Nullable Identifier
private final String
private final ArgumentSerializer.ArgumentTypeProperties<?>
-
Constructor Summary
ConstructorDescriptionArgumentNode
(com.mojang.brigadier.tree.ArgumentCommandNode<CommandSource, ?> node) ArgumentNode
(String name, ArgumentSerializer.ArgumentTypeProperties<?> properties, @Nullable Identifier id) -
Method Summary
Modifier and TypeMethodDescriptionprivate static @Nullable Identifier
computeId
(@Nullable com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,
?> createArgumentBuilder
(CommandRegistryAccess commandRegistryAccess) void
write
(PacketByteBuf buf) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>>
voidwrite
(PacketByteBuf buf, ArgumentSerializer.ArgumentTypeProperties<A> properties) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends ArgumentSerializer.ArgumentTypeProperties<A>>
voidwrite
(PacketByteBuf buf, ArgumentSerializer<A, T> serializer, ArgumentSerializer.ArgumentTypeProperties<A> properties)
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official a
Lzs$a;a:Ljava/lang/String;
intermediary field_38040
Lnet/minecraft/class_2641$class_7232;field_38040:Ljava/lang/String;
named name
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode;name:Ljava/lang/String;
-
properties
- Mappings:
Namespace Name Mixin selector official b
Lzs$a;b:Lhj$a;
intermediary field_38041
Lnet/minecraft/class_2641$class_7232;field_38041:Lnet/minecraft/class_2314$class_7217;
named properties
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode;properties:Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;
-
id
- Mappings:
Namespace Name Mixin selector official c
Lzs$a;c:Lahg;
intermediary field_38042
Lnet/minecraft/class_2641$class_7232;field_38042:Lnet/minecraft/class_2960;
named id
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode;id:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
ArgumentNode
ArgumentNode(String name, ArgumentSerializer.ArgumentTypeProperties<?> properties, @Nullable @Nullable Identifier id) - Mappings:
Namespace Name Mixin selector official <init>
Lzs$a;<init>(Ljava/lang/String;Lhj$a;Lahg;)V
intermediary <init>
Lnet/minecraft/class_2641$class_7232;<init>(Ljava/lang/String;Lnet/minecraft/class_2314$class_7217;Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode;<init>(Ljava/lang/String;Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;Lnet/minecraft/util/Identifier;)V
-
ArgumentNode
- Mappings:
Namespace Name Mixin selector official <init>
Lzs$a;<init>(Lcom/mojang/brigadier/tree/ArgumentCommandNode;)V
intermediary <init>
Lnet/minecraft/class_2641$class_7232;<init>(Lcom/mojang/brigadier/tree/ArgumentCommandNode;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode;<init>(Lcom/mojang/brigadier/tree/ArgumentCommandNode;)V
-
-
Method Details
-
computeId
@Nullable private static @Nullable Identifier computeId(@Nullable @Nullable com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) - Mappings:
Namespace Name Mixin selector official a
Lzs$a;a(Lcom/mojang/brigadier/suggestion/SuggestionProvider;)Lahg;
intermediary method_42069
Lnet/minecraft/class_2641$class_7232;method_42069(Lcom/mojang/brigadier/suggestion/SuggestionProvider;)Lnet/minecraft/class_2960;
named computeId
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode;computeId(Lcom/mojang/brigadier/suggestion/SuggestionProvider;)Lnet/minecraft/util/Identifier;
-
createArgumentBuilder
public com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> createArgumentBuilder(CommandRegistryAccess commandRegistryAccess) - Specified by:
createArgumentBuilder
in interfaceCommandTreeS2CPacket.SuggestableNode
- Mappings:
Namespace Name Mixin selector official a
Lzs$e;a(Ldn;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
intermediary method_42070
Lnet/minecraft/class_2641$class_7235;method_42070(Lnet/minecraft/class_7157;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
named createArgumentBuilder
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$SuggestableNode;createArgumentBuilder(Lnet/minecraft/command/CommandRegistryAccess;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
-
write
- Specified by:
write
in interfaceCommandTreeS2CPacket.SuggestableNode
- Mappings:
Namespace Name Mixin selector official a
Lzs$e;a(Lui;)V
intermediary method_42071
Lnet/minecraft/class_2641$class_7235;method_42071(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$SuggestableNode;write(Lnet/minecraft/network/PacketByteBuf;)V
-
write
private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>> void write(PacketByteBuf buf, ArgumentSerializer.ArgumentTypeProperties<A> properties) - Mappings:
Namespace Name Mixin selector official a
Lzs$a;a(Lui;Lhj$a;)V
intermediary method_42072
Lnet/minecraft/class_2641$class_7232;method_42072(Lnet/minecraft/class_2540;Lnet/minecraft/class_2314$class_7217;)V
named write
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode;write(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;)V
-
write
private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,T extends ArgumentSerializer.ArgumentTypeProperties<A>> void write(PacketByteBuf buf, ArgumentSerializer<A, T> serializer, ArgumentSerializer.ArgumentTypeProperties<A> properties) - Mappings:
Namespace Name Mixin selector official a
Lzs$a;a(Lui;Lhj;Lhj$a;)V
intermediary method_42073
Lnet/minecraft/class_2641$class_7232;method_42073(Lnet/minecraft/class_2540;Lnet/minecraft/class_2314;Lnet/minecraft/class_2314$class_7217;)V
named write
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode;write(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/command/argument/serialize/ArgumentSerializer;Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;)V
-