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 acm$a
  • Field Details

    • name

      private final String 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 Lacm$a;a:Ljava/lang/String;
    • properties

      private final ArgumentSerializer.ArgumentTypeProperties<?> 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 Lacm$a;b:Lio$a;
    • id

      @Nullable private final @Nullable Identifier 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 Lacm$a;c:Lakq;
  • Constructor Details

    • ArgumentNode

      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> Lacm$a;<init>(Ljava/lang/String;Lio$a;Lakq;)V
    • ArgumentNode

      public ArgumentNode(com.mojang.brigadier.tree.ArgumentCommandNode<CommandSource,?> node)
      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> Lacm$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 Lacm$a;a(Lcom/mojang/brigadier/suggestion/SuggestionProvider;)Lakq;
    • createArgumentBuilder

      public com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> createArgumentBuilder(CommandRegistryAccess commandRegistryAccess)
      Specified by:
      createArgumentBuilder in interface CommandTreeS2CPacket.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 Lacm$e;a(Lep;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface CommandTreeS2CPacket.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 Lacm$e;a(Lvv;)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 Lacm$a;a(Lvv;Lio$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 Lacm$a;a(Lvv;Lio;Lio$a;)V