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 th$a
intermediary net/minecraft/class_2641$class_7232
named net/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$ArgumentNode
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official a Lth$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

      private final ArgumentSerializer.ArgumentTypeProperties<?> properties
      Mappings:
      Namespace Name Mixin selector
      official b Lth$a;b:Lgf$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

      @Nullable private final @Nullable Identifier id
      Mappings:
      Namespace Name Mixin selector
      official c Lth$a;c:Laaj;
      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

      Mappings:
      Namespace Name Mixin selector
      official <init> Lth$a;<init>(Ljava/lang/String;Lgf$a;Laaj;)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

      public ArgumentNode(com.mojang.brigadier.tree.ArgumentCommandNode<CommandSource,?> node)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lth$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 Lth$a;a(Lcom/mojang/brigadier/suggestion/SuggestionProvider;)Laaj;
      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 interface CommandTreeS2CPacket.SuggestableNode
      Mappings:
      Namespace Name Mixin selector
      official a Lth$e;a(Ldl;)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

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface CommandTreeS2CPacket.SuggestableNode
      Mappings:
      Namespace Name Mixin selector
      official a Lth$e;a(Lqx;)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 Lth$a;a(Lqx;Lgf$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 Lth$a;a(Lqx;Lgf;Lgf$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