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 zs$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 Lzs$d;a:Ldn;
      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 Lzs$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 Lzs$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> Lzs$d;<init>(Ldn;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 Lzs$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;