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
named net/minecraft/network/packet/s2c/play/CommandTreeS2CPacket$CommandTree
intermediary net/minecraft/class_2641$class_7234
official adb$d
  • Field Details

    • commandRegistryAccess

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

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

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

    • CommandTree

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

    • getNode

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