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 CommandBuildContextCommands.createValidationContext(HolderLookup.Provider provider) static CommandBuildContextCommandBuildContext.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 TypeMethodDescriptionResourceOrIdArgument.dialog(CommandBuildContext context) EntityArgument.Info.Template.instantiate(CommandBuildContext p_231294_) ResourceArgument.Info.Template.instantiate(CommandBuildContext p_251900_) ResourceKeyArgument.Info.Template.instantiate(CommandBuildContext p_233299_) ResourceOrTagArgument.Info.Template.instantiate(CommandBuildContext p_251386_) ResourceOrTagKeyArgument.Info.Template.instantiate(CommandBuildContext p_251559_) ResourceSelectorArgument.Info.Template.instantiate(CommandBuildContext p_397320_) ScoreHolderArgument.Info.Template.instantiate(CommandBuildContext p_233490_) TimeArgument.Info.Template.instantiate(CommandBuildContext p_265466_) ResourceOrIdArgument.lootModifier(CommandBuildContext context) ResourceOrIdArgument.lootPredicate(CommandBuildContext context) ResourceOrIdArgument.lootTable(CommandBuildContext context) static ParticleArgumentParticleArgument.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 <T> ResourceSelectorArgument<T> ResourceSelectorArgument.resourceSelector(CommandBuildContext buildContext, ResourceKey<? extends Registry<T>> registryKey) static StyleArgumentStyleArgument.style(CommandBuildContext context) static ComponentArgumentComponentArgument.textComponent(CommandBuildContext context) Constructors in net.minecraft.commands.arguments with parameters of type CommandBuildContextModifierConstructorDescriptionprotectedDialogArgument(CommandBuildContext context) protectedLootModifierArgument(CommandBuildContext context) protectedLootPredicateArgument(CommandBuildContext context) protectedLootTableArgument(CommandBuildContext context) ParticleArgument(CommandBuildContext buildContext) ResourceArgument(CommandBuildContext context, ResourceKey<? extends Registry<T>> registryKey) protectedResourceOrIdArgument(CommandBuildContext registryLookup, ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<T> codec) ResourceOrTagArgument(CommandBuildContext context, ResourceKey<? extends Registry<T>> registryKey) (package private)ResourceSelectorArgument(CommandBuildContext buildContext, 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 BlockStateArgumentBlockStateArgument.block(CommandBuildContext buildContext) static BlockPredicateArgumentBlockPredicateArgument.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 ItemArgumentItemArgument.item(CommandBuildContext context) static ItemPredicateArgumentItemPredicateArgument.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.constructorMethods in net.minecraft.commands.synchronization with parameters of type CommandBuildContextModifier and TypeMethodDescriptionArgumentTypeInfo.Template.instantiate(CommandBuildContext context) SingletonArgumentInfo.Template.instantiate(CommandBuildContext p_235469_) 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 CommandBuildContextModifierConstructorDescriptionprivateSingletonArgumentInfo(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.DoubleArgumentTypeDoubleArgumentInfo.Template.instantiate(CommandBuildContext p_235500_) com.mojang.brigadier.arguments.FloatArgumentTypeFloatArgumentInfo.Template.instantiate(CommandBuildContext p_235533_) com.mojang.brigadier.arguments.IntegerArgumentTypeIntegerArgumentInfo.Template.instantiate(CommandBuildContext p_235566_) com.mojang.brigadier.arguments.LongArgumentTypeLongArgumentInfo.Template.instantiate(CommandBuildContext p_235599_) com.mojang.brigadier.arguments.StringArgumentTypeStringArgumentSerializer.Template.instantiate(CommandBuildContext p_235629_) -
Uses of CommandBuildContext in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework with parameters of type CommandBuildContextModifier and TypeMethodDescriptionstatic voidTestCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext buildContext) -
Uses of CommandBuildContext in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as CommandBuildContextModifier and TypeFieldDescriptionprivate final CommandBuildContextClientboundCommandsPacket.NodeResolver.contextMethods in net.minecraft.network.protocol.game with parameters of type CommandBuildContextModifier and TypeMethodDescription<S> com.mojang.brigadier.builder.ArgumentBuilder<S, ?> ClientboundCommandsPacket.ArgumentNodeStub.build(CommandBuildContext p_237656_, ClientboundCommandsPacket.NodeBuilder<S> p_426292_) <S> com.mojang.brigadier.builder.ArgumentBuilder<S, ?> ClientboundCommandsPacket.LiteralNodeStub.build(CommandBuildContext p_237682_, ClientboundCommandsPacket.NodeBuilder<S> p_426272_) <S> com.mojang.brigadier.builder.ArgumentBuilder<S, ?> ClientboundCommandsPacket.NodeStub.build(CommandBuildContext context, ClientboundCommandsPacket.NodeBuilder<S> nodeBuilder) <S> com.mojang.brigadier.tree.RootCommandNode<S> ClientboundCommandsPacket.getRoot(CommandBuildContext context, ClientboundCommandsPacket.NodeBuilder<S> nodeBuilder) Constructors in net.minecraft.network.protocol.game with parameters of type CommandBuildContextModifierConstructorDescription(package private)NodeResolver(CommandBuildContext context, ClientboundCommandsPacket.NodeBuilder<S> builder, 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 buildContext) 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, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> levelGetter) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.destinationAndStrictSuffix(CommandBuildContext buildContext, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> sourceLevelGetter, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> destinationLevelGetter) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.modeSuffix(CommandBuildContext buildContext, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> begin, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> end, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> destination, boolean strict, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder) static voidAttributeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidBossBarCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidClearInventoryCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidCloneCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidDamageCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidDataPackCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext buildContext) static voidDebugConfigCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidDialogCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext buildContext) static voidEffectCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidEnchantCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidExecuteCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext buildContext) static voidFillBiomeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidFillCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext buildContext) static voidGameRuleCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext commandBuildContext) static voidGiveCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidItemCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidLocateCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidLootCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidParticleCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidRaidCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidScoreboardCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidSetBlockCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext buildContext) static voidSummonCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidTeamCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidTellRawCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidTitleCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) static voidWaypointCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext buildContext) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> FillCommand.wrapWithMode(CommandBuildContext buildContext, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> argumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> from, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> to, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockInput> block, FillCommand.NullableCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> filter) -
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<ClientSuggestionProvider> ClientCommandHandler.mergeServerCommands(com.mojang.brigadier.CommandDispatcher<ClientSuggestionProvider> 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 CommandBuildContextRegisterClientCommandsEvent.contextMethods 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 voidEventHooks.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_)