Uses of Interface
net.minecraft.commands.CommandBuildContext
Packages that use CommandBuildContext
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of CommandBuildContext in net.minecraft.commands
Methods in net.minecraft.commands that return CommandBuildContextModifier and TypeMethodDescriptionstatic CommandBuildContext
Commands.createValidationContext
(HolderLookup.Provider provider) static CommandBuildContext
CommandBuildContext.simple
(HolderLookup.Provider provider, FeatureFlagSet enabledFeatures) Constructors in net.minecraft.commands with parameters of type CommandBuildContextModifierConstructorDescriptionCommands
(Commands.CommandSelection selection, CommandBuildContext context) -
Uses of CommandBuildContext in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments with parameters of type CommandBuildContextModifier and TypeMethodDescriptionEntityArgument.Info.Template.instantiate
(CommandBuildContext context) ResourceArgument.Info.Template.instantiate
(CommandBuildContext context) ResourceKeyArgument.Info.Template.instantiate
(CommandBuildContext context) ResourceOrTagArgument.Info.Template.instantiate
(CommandBuildContext context) ResourceOrTagKeyArgument.Info.Template.instantiate
(CommandBuildContext context) ScoreHolderArgument.Info.Template.instantiate
(CommandBuildContext context) TimeArgument.Info.Template.instantiate
(CommandBuildContext context) ResourceOrIdArgument.lootModifier
(CommandBuildContext context) ResourceOrIdArgument.lootPredicate
(CommandBuildContext context) ResourceOrIdArgument.lootTable
(CommandBuildContext context) static ParticleArgument
ParticleArgument.particle
(CommandBuildContext buildContext) static <T> ResourceArgument
<T> ResourceArgument.resource
(CommandBuildContext context, ResourceKey<? extends Registry<T>> registryKey) static <T> ResourceOrTagArgument
<T> ResourceOrTagArgument.resourceOrTag
(CommandBuildContext context, ResourceKey<? extends Registry<T>> registryKey) static StyleArgument
StyleArgument.style
(CommandBuildContext context) static ComponentArgument
ComponentArgument.textComponent
(CommandBuildContext context) Constructors in net.minecraft.commands.arguments with parameters of type CommandBuildContextModifierConstructorDescriptionprotected
LootModifierArgument
(CommandBuildContext context) protected
LootPredicateArgument
(CommandBuildContext context) protected
LootTableArgument
(CommandBuildContext context) ParticleArgument
(CommandBuildContext buildContext) ResourceArgument
(CommandBuildContext context, ResourceKey<? extends Registry<T>> registryKey) protected
ResourceOrIdArgument
(CommandBuildContext registryLookup, ResourceKey<Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> codec) ResourceOrTagArgument
(CommandBuildContext context, ResourceKey<? extends Registry<T>> registryKey) -
Uses of CommandBuildContext in net.minecraft.commands.arguments.blocks
Methods in net.minecraft.commands.arguments.blocks with parameters of type CommandBuildContextModifier and TypeMethodDescriptionstatic BlockStateArgument
BlockStateArgument.block
(CommandBuildContext buildContext) static BlockPredicateArgument
BlockPredicateArgument.blockPredicate
(CommandBuildContext context) Constructors in net.minecraft.commands.arguments.blocks with parameters of type CommandBuildContext -
Uses of CommandBuildContext in net.minecraft.commands.arguments.item
Methods in net.minecraft.commands.arguments.item with parameters of type CommandBuildContextModifier and TypeMethodDescriptionstatic ItemArgument
ItemArgument.item
(CommandBuildContext context) static ItemPredicateArgument
ItemPredicateArgument.itemPredicate
(CommandBuildContext context) Constructors in net.minecraft.commands.arguments.item with parameters of type CommandBuildContextModifierConstructorDescriptionItemArgument
(CommandBuildContext context) ItemPredicateArgument
(CommandBuildContext context) -
Uses of CommandBuildContext in net.minecraft.commands.synchronization
Fields in net.minecraft.commands.synchronization with type parameters of type CommandBuildContextModifier and TypeFieldDescriptionprivate final Function
<CommandBuildContext, A> SingletonArgumentInfo.Template.constructor
Methods in net.minecraft.commands.synchronization with parameters of type CommandBuildContextModifier and TypeMethodDescriptionArgumentTypeInfo.Template.instantiate
(CommandBuildContext context) SingletonArgumentInfo.Template.instantiate
(CommandBuildContext context) Method parameters in net.minecraft.commands.synchronization with type arguments of type CommandBuildContextModifier and TypeMethodDescriptionstatic <T extends com.mojang.brigadier.arguments.ArgumentType<?>>
SingletonArgumentInfo<T> SingletonArgumentInfo.contextAware
(Function<CommandBuildContext, T> argumentType) Constructor parameters in net.minecraft.commands.synchronization with type arguments of type CommandBuildContextModifierConstructorDescriptionprivate
SingletonArgumentInfo
(Function<CommandBuildContext, A> constructor) Template
(Function<CommandBuildContext, A> constructor) -
Uses of CommandBuildContext in net.minecraft.commands.synchronization.brigadier
Methods in net.minecraft.commands.synchronization.brigadier with parameters of type CommandBuildContextModifier and TypeMethodDescriptioncom.mojang.brigadier.arguments.DoubleArgumentType
DoubleArgumentInfo.Template.instantiate
(CommandBuildContext context) com.mojang.brigadier.arguments.FloatArgumentType
FloatArgumentInfo.Template.instantiate
(CommandBuildContext context) com.mojang.brigadier.arguments.IntegerArgumentType
IntegerArgumentInfo.Template.instantiate
(CommandBuildContext context) com.mojang.brigadier.arguments.LongArgumentType
LongArgumentInfo.Template.instantiate
(CommandBuildContext context) com.mojang.brigadier.arguments.StringArgumentType
StringArgumentSerializer.Template.instantiate
(CommandBuildContext context) -
Uses of CommandBuildContext in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as CommandBuildContextModifier and TypeFieldDescriptionprivate final CommandBuildContext
ClientboundCommandsPacket.NodeResolver.context
Methods in net.minecraft.network.protocol.game with parameters of type CommandBuildContextModifier and TypeMethodDescriptioncom.mojang.brigadier.builder.ArgumentBuilder
<SharedSuggestionProvider, ?> ClientboundCommandsPacket.ArgumentNodeStub.build
(CommandBuildContext context) com.mojang.brigadier.builder.ArgumentBuilder
<SharedSuggestionProvider, ?> ClientboundCommandsPacket.LiteralNodeStub.build
(CommandBuildContext context) com.mojang.brigadier.builder.ArgumentBuilder
<SharedSuggestionProvider, ?> ClientboundCommandsPacket.NodeStub.build
(CommandBuildContext context) com.mojang.brigadier.tree.RootCommandNode
<SharedSuggestionProvider> ClientboundCommandsPacket.getRoot
(CommandBuildContext context) Constructors in net.minecraft.network.protocol.game with parameters of type CommandBuildContextModifierConstructorDescription(package private)
NodeResolver
(CommandBuildContext context, List<ClientboundCommandsPacket.Entry> entries) -
Uses of CommandBuildContext in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type CommandBuildContextModifier and TypeMethodDescriptionprivate static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ExecuteCommand.addConditionals
(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> parent, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> literal, boolean isIf, CommandBuildContext context) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> ScoreboardCommand.addNumberFormats
(CommandBuildContext context, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder, ScoreboardCommand.NumberFormatCommandExecutor executor) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> CloneCommands.beginEndDestinationAndModeSuffix
(CommandBuildContext buildContext, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> levelGetter) private static com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> CloneCommands.destinationAndModeSuffix
(CommandBuildContext buildContext, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> sourceLevelGetter, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> destinationLevelGetter) static void
AttributeCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
BossBarCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
ClearInventoryCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
CloneCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
DamageCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
EffectCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
EnchantCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
ExecuteCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
FillBiomeCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
FillCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
GiveCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
ItemCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
LocateCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
LootCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
ParticleCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
RaidCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
ScoreboardCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
SetBlockCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
SummonCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
TeamCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
TellRawCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static void
TitleCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) -
Uses of CommandBuildContext in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client with parameters of type CommandBuildContextModifier and TypeMethodDescriptionstatic com.mojang.brigadier.CommandDispatcher
<SharedSuggestionProvider> ClientCommandHandler.mergeServerCommands
(com.mojang.brigadier.CommandDispatcher<SharedSuggestionProvider> serverCommands, CommandBuildContext buildContext) -
Uses of CommandBuildContext in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event declared as CommandBuildContextModifier and TypeFieldDescriptionprivate final CommandBuildContext
RegisterClientCommandsEvent.context
Methods in net.neoforged.neoforge.client.event that return CommandBuildContextModifier and TypeMethodDescriptionRegisterClientCommandsEvent.getBuildContext()
Returns the context to build the commands for.Constructors in net.neoforged.neoforge.client.event with parameters of type CommandBuildContextModifierConstructorDescriptionRegisterClientCommandsEvent
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) -
Uses of CommandBuildContext in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as CommandBuildContextMethods in net.neoforged.neoforge.event that return CommandBuildContextModifier and TypeMethodDescriptionRegisterCommandsEvent.getBuildContext()
Returns the context to build the commands for.Methods in net.neoforged.neoforge.event with parameters of type CommandBuildContextModifier and TypeMethodDescriptionstatic void
EventHooks.onCommandRegister
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment, CommandBuildContext context) Constructors in net.neoforged.neoforge.event with parameters of type CommandBuildContextModifierConstructorDescriptionRegisterCommandsEvent
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment, CommandBuildContext context) -
Uses of CommandBuildContext in net.neoforged.neoforge.server.command
Methods in net.neoforged.neoforge.server.command with parameters of type CommandBuildContextModifier and TypeMethodDescriptionEnumArgument.Info.Template.instantiate
(CommandBuildContext p_223435_)