Class CommandTreeS2CPacket.CommandTree

java.lang.Object
net.minecraft.network.packet.s2c.play.CommandTreeS2CPacket.CommandTree
Enclosing class:
CommandTreeS2CPacket

private static class CommandTreeS2CPacket.CommandTree extends Object
Mappings:
Namespace Name
official th$d
intermediary net/minecraft/class_2641$class_7234
named net/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$CommandTree
  • Field Details

    • commandRegistryAccess

      private final CommandRegistryAccess commandRegistryAccess
      Mappings:
      Namespace Name Mixin selector
      official a Lth$d;a:Ldl;
      intermediary field_38045 Lnet/minecraft/class_2641$class_7234;field_38045:Lnet/minecraft/class_7157;
      named commandRegistryAccess Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$CommandTree;commandRegistryAccess:Lnet/minecraft/command/CommandRegistryAccess;
    • nodeDatas

      private final List<CommandTreeS2CPacket.CommandNodeData> nodeDatas
      Mappings:
      Namespace Name Mixin selector
      official b Lth$d;b:Ljava/util/List;
      intermediary field_38046 Lnet/minecraft/class_2641$class_7234;field_38046:Ljava/util/List;
      named nodeDatas Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$CommandTree;nodeDatas:Ljava/util/List;
    • nodes

      private final List<com.mojang.brigadier.tree.CommandNode<CommandSource>> nodes
      Mappings:
      Namespace Name Mixin selector
      official c Lth$d;c:Ljava/util/List;
      intermediary field_38047 Lnet/minecraft/class_2641$class_7234;field_38047:Ljava/util/List;
      named nodes Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$CommandTree;nodes:Ljava/util/List;
  • Constructor Details

    • CommandTree

      CommandTree(CommandRegistryAccess commandRegistryAccess, List<CommandTreeS2CPacket.CommandNodeData> nodeDatas)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lth$d;<init>(Ldl;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_2641$class_7234;<init>(Lnet/minecraft/class_7157;Ljava/util/List;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$CommandTree;<init>(Lnet/minecraft/command/CommandRegistryAccess;Ljava/util/List;)V
  • Method Details

    • getNode

      public com.mojang.brigadier.tree.CommandNode<CommandSource> getNode(int index)
      Mappings:
      Namespace Name Mixin selector
      official a Lth$d;a(I)Lcom/mojang/brigadier/tree/CommandNode;
      intermediary method_42077 Lnet/minecraft/class_2641$class_7234;method_42077(I)Lcom/mojang/brigadier/tree/CommandNode;
      named getNode Lnet/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$CommandTree;getNode(I)Lcom/mojang/brigadier/tree/CommandNode;