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 named net/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode
intermediary net/minecraft/class_2641$class_7232
official acg$a
-
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 named name
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode;name:Ljava/lang/String;
intermediary field_38040
Lnet/minecraft/class_2641$class_7232;field_38040:Ljava/lang/String;
official a
Lacg$a;a:Ljava/lang/String;
-
properties
- Mappings:
Namespace Name Mixin selector named properties
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode;properties:Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;
intermediary field_38041
Lnet/minecraft/class_2641$class_7232;field_38041:Lnet/minecraft/class_2314$class_7217;
official b
Lacg$a;b:Lil$a;
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode;id:Lnet/minecraft/util/Identifier;
intermediary field_38042
Lnet/minecraft/class_2641$class_7232;field_38042:Lnet/minecraft/class_2960;
official c
Lacg$a;c:Lakk;
-
-
Constructor Details
-
ArgumentNode
ArgumentNode(String name, ArgumentSerializer.ArgumentTypeProperties<?> properties, @Nullable @Nullable Identifier id) - Mappings:
Namespace Name Mixin selector 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
intermediary <init>
Lnet/minecraft/class_2641$class_7232;<init>(Ljava/lang/String;Lnet/minecraft/class_2314$class_7217;Lnet/minecraft/class_2960;)V
official <init>
Lacg$a;<init>(Ljava/lang/String;Lil$a;Lakk;)V
-
ArgumentNode
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode;<init>(Lcom/mojang/brigadier/tree/ArgumentCommandNode;)V
intermediary <init>
Lnet/minecraft/class_2641$class_7232;<init>(Lcom/mojang/brigadier/tree/ArgumentCommandNode;)V
official <init>
Lacg$a;<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 named computeId
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode;computeId(Lcom/mojang/brigadier/suggestion/SuggestionProvider;)Lnet/minecraft/util/Identifier;
intermediary method_42069
Lnet/minecraft/class_2641$class_7232;method_42069(Lcom/mojang/brigadier/suggestion/SuggestionProvider;)Lnet/minecraft/class_2960;
official a
Lacg$a;a(Lcom/mojang/brigadier/suggestion/SuggestionProvider;)Lakk;
-
createArgumentBuilder
public com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> createArgumentBuilder(CommandRegistryAccess commandRegistryAccess) - Specified by:
createArgumentBuilder
in interfaceCommandTreeS2CPacket.SuggestableNode
- Mappings:
Namespace Name Mixin selector named createArgumentBuilder
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$SuggestableNode;createArgumentBuilder(Lnet/minecraft/command/CommandRegistryAccess;)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;
official a
Lacg$e;a(Lem;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
-
write
- Specified by:
write
in interfaceCommandTreeS2CPacket.SuggestableNode
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$SuggestableNode;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_42071
Lnet/minecraft/class_2641$class_7235;method_42071(Lnet/minecraft/class_2540;)V
official a
Lacg$e;a(Lvr;)V
-
write
private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>> void write(PacketByteBuf buf, ArgumentSerializer.ArgumentTypeProperties<A> properties) - Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode;write(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;)V
intermediary method_42072
Lnet/minecraft/class_2641$class_7232;method_42072(Lnet/minecraft/class_2540;Lnet/minecraft/class_2314$class_7217;)V
official a
Lacg$a;a(Lvr;Lil$a;)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 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
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
official a
Lacg$a;a(Lvr;Lil;Lil$a;)V
-