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 p_256243_) static CommandBuildContextCommandBuildContext.simple(HolderLookup.Provider p_255702_, FeatureFlagSet p_255968_) Constructors in net.minecraft.commands with parameters of type CommandBuildContextModifierConstructorDescriptionCommands(Commands.CommandSelection p_230943_, CommandBuildContext p_230944_) -
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 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_) ScoreHolderArgument.Info.Template.instantiate(CommandBuildContext p_233490_) TimeArgument.Info.Template.instantiate(CommandBuildContext p_265466_) ResourceOrIdArgument.lootModifier(CommandBuildContext p_335731_) ResourceOrIdArgument.lootPredicate(CommandBuildContext p_335891_) ResourceOrIdArgument.lootTable(CommandBuildContext p_335938_) static ParticleArgumentParticleArgument.particle(CommandBuildContext p_251304_) static <T> ResourceArgument<T> ResourceArgument.resource(CommandBuildContext p_249973_, ResourceKey<? extends Registry<T>> p_251405_) static <T> ResourceOrTagArgument<T> ResourceOrTagArgument.resourceOrTag(CommandBuildContext p_251101_, ResourceKey<? extends Registry<T>> p_248888_) static StyleArgumentStyleArgument.style(CommandBuildContext p_324578_) static ComponentArgumentComponentArgument.textComponent(CommandBuildContext p_324401_) Constructors in net.minecraft.commands.arguments with parameters of type CommandBuildContextModifierConstructorDescriptionprotectedLootModifierArgument(CommandBuildContext p_335547_) protectedLootPredicateArgument(CommandBuildContext p_336020_) protectedLootTableArgument(CommandBuildContext p_335769_) ParticleArgument(CommandBuildContext p_249844_) ResourceArgument(CommandBuildContext p_248597_, ResourceKey<? extends Registry<T>> p_251778_) protectedResourceOrIdArgument(CommandBuildContext p_335864_, ResourceKey<Registry<T>> p_335475_, com.mojang.serialization.Codec<Holder<T>> p_335632_) ResourceOrTagArgument(CommandBuildContext p_249382_, ResourceKey<? extends Registry<T>> p_251209_) -
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 p_234651_) static BlockPredicateArgumentBlockPredicateArgument.blockPredicate(CommandBuildContext p_234628_) Constructors in net.minecraft.commands.arguments.blocks with parameters of type CommandBuildContextModifierConstructorDescriptionBlockPredicateArgument(CommandBuildContext p_234626_) BlockStateArgument(CommandBuildContext p_234649_) -
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 p_235280_) static ItemPredicateArgumentItemPredicateArgument.itemPredicate(CommandBuildContext p_235354_) Constructors in net.minecraft.commands.arguments.item with parameters of type CommandBuildContextModifierConstructorDescriptionItemArgument(CommandBuildContext p_235278_) ItemPredicateArgument(CommandBuildContext p_235352_) -
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 p_235378_) 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> p_235450_) Constructor parameters in net.minecraft.commands.synchronization with type arguments of type CommandBuildContextModifierConstructorDescriptionprivateSingletonArgumentInfo(Function<CommandBuildContext, A> p_235434_) Template(Function<CommandBuildContext, A> p_235466_) -
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.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 TypeMethodDescriptioncom.mojang.brigadier.builder.ArgumentBuilder<SharedSuggestionProvider, ?> ClientboundCommandsPacket.ArgumentNodeStub.build(CommandBuildContext p_237656_) com.mojang.brigadier.builder.ArgumentBuilder<SharedSuggestionProvider, ?> ClientboundCommandsPacket.LiteralNodeStub.build(CommandBuildContext p_237682_) com.mojang.brigadier.builder.ArgumentBuilder<SharedSuggestionProvider, ?> ClientboundCommandsPacket.NodeStub.build(CommandBuildContext p_237695_) com.mojang.brigadier.tree.RootCommandNode<SharedSuggestionProvider> ClientboundCommandsPacket.getRoot(CommandBuildContext p_237625_) Constructors in net.minecraft.network.protocol.game with parameters of type CommandBuildContextModifierConstructorDescription(package private)NodeResolver(CommandBuildContext p_237689_, List<ClientboundCommandsPacket.Entry> p_237690_) -
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> p_214438_, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> p_214439_, boolean p_214440_, CommandBuildContext p_214441_) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> ScoreboardCommand.addNumberFormats(CommandBuildContext p_323655_, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_313757_, ScoreboardCommand.NumberFormatCommandExecutor p_313912_) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.beginEndDestinationAndModeSuffix(CommandBuildContext p_265681_, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> p_265514_) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.destinationAndModeSuffix(CommandBuildContext p_265238_, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> p_265621_, CloneCommands.CommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> p_265296_) static voidAttributeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_251026_, CommandBuildContext p_250936_) static voidBossBarCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136583_, CommandBuildContext p_323939_) static voidClearInventoryCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214421_, CommandBuildContext p_214422_) static voidCloneCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214424_, CommandBuildContext p_214425_) static voidDamageCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_270226_, CommandBuildContext p_270136_) static voidEffectCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136954_, CommandBuildContext p_251610_) static voidEnchantCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_251241_, CommandBuildContext p_251038_) static voidExecuteCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214435_, CommandBuildContext p_214436_) static voidFillBiomeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_261867_, CommandBuildContext p_262155_) static voidFillCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214443_, CommandBuildContext p_214444_) static voidGiveCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214446_, CommandBuildContext p_214447_) static voidItemCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214449_, CommandBuildContext p_214450_) static voidLocateCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_249870_, CommandBuildContext p_248936_) static voidLootCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214516_, CommandBuildContext p_214517_) static voidParticleCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138123_, CommandBuildContext p_248587_) static voidRaidCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_180469_, CommandBuildContext p_323666_) static voidScoreboardCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138469_, CommandBuildContext p_324608_) static voidSetBlockCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214731_, CommandBuildContext p_214732_) static voidSummonCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_250343_, CommandBuildContext p_250122_) static voidTeamCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138878_, CommandBuildContext p_323744_) static voidTellRawCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139064_, CommandBuildContext p_324061_) static voidTitleCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139103_, CommandBuildContext p_324289_) -
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 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_)