static class CommandTreeS2CPacket.CommandNodeData extends Object
Modifier and Type | Field and Description |
---|---|
private com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> |
argumentBuilder |
private int[] |
childNodeIndices |
private byte |
flags |
private com.mojang.brigadier.tree.CommandNode<CommandSource> |
node |
private int |
redirectNodeIndex |
Modifier | Constructor and Description |
---|---|
private |
CommandNodeData(com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> argumentBuilder,
byte flags,
int redirectNodeIndex,
int[] childNodeIndices) |
Modifier and Type | Method and Description |
---|---|
boolean |
build(CommandTreeS2CPacket.CommandNodeData[] previousNodes) |
@Nullable private final com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> argumentBuilder
private final byte flags
private final int redirectNodeIndex
private final int[] childNodeIndices
@Nullable private com.mojang.brigadier.tree.CommandNode<CommandSource> node
private CommandNodeData(@Nullable com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> argumentBuilder, byte flags, int redirectNodeIndex, int[] childNodeIndices)
public boolean build(CommandTreeS2CPacket.CommandNodeData[] previousNodes)