Uses of Class
com.mojang.brigadier.tree.RootCommandNode
Packages that use RootCommandNode
Package
Description
-
Uses of RootCommandNode in com.mojang.brigadier
Fields in com.mojang.brigadier declared as RootCommandNodeMethods in com.mojang.brigadier that return RootCommandNodeModifier and TypeMethodDescriptionCommandDispatcher.getRoot()Gets the root of this command tree.Constructors in com.mojang.brigadier with parameters of type RootCommandNodeModifierConstructorDescriptionCommandDispatcher(RootCommandNode<S> root) Create a newCommandDispatcherwith the specified root node. -
Uses of RootCommandNode in com.mojang.brigadier.builder
Fields in com.mojang.brigadier.builder declared as RootCommandNode -
Uses of RootCommandNode in net.minecraft.network.protocol.game
Methods in net.minecraft.network.protocol.game that return RootCommandNodeModifier and TypeMethodDescription<S> RootCommandNode<S> ClientboundCommandsPacket.getRoot(CommandBuildContext context, ClientboundCommandsPacket.NodeBuilder<S> builder) Methods in net.minecraft.network.protocol.game with parameters of type RootCommandNodeModifier and TypeMethodDescriptionprivate static <S> it.unimi.dsi.fastutil.objects.Object2IntMap<CommandNode<S>> ClientboundCommandsPacket.enumerateNodes(RootCommandNode<S> root) Constructors in net.minecraft.network.protocol.game with parameters of type RootCommandNodeModifierConstructorDescription<S>ClientboundCommandsPacket(RootCommandNode<S> root, ClientboundCommandsPacket.NodeInspector<S> inspector) -
Uses of RootCommandNode in net.neoforged.neoforge.network.filters
Methods in net.neoforged.neoforge.network.filters that return RootCommandNodeModifier and TypeMethodDescriptionstatic <S> RootCommandNode<S> CommandTreeCleaner.cleanArgumentTypes(RootCommandNode<S> root, Predicate<ArgumentType<?>> argumentTypeFilter) Cleans the command tree starting at the given root node from any argument types that do not match the given predicate.Methods in net.neoforged.neoforge.network.filters with parameters of type RootCommandNodeModifier and TypeMethodDescriptionstatic <S> RootCommandNode<S> CommandTreeCleaner.cleanArgumentTypes(RootCommandNode<S> root, Predicate<ArgumentType<?>> argumentTypeFilter) Cleans the command tree starting at the given root node from any argument types that do not match the given predicate.