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 pProvider) static CommandBuildContextCommandBuildContext.simple(HolderLookup.Provider pProvider, FeatureFlagSet pEnabledFeatures) Constructors in net.minecraft.commands with parameters of type CommandBuildContextModifierConstructorDescriptionCommands(Commands.CommandSelection pSelection, CommandBuildContext pContext) -
Uses of CommandBuildContext in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments with parameters of type CommandBuildContextModifier and TypeMethodDescriptionResourceOrIdArgument.dialog(CommandBuildContext pContext) EntityArgument.Info.Template.instantiate(CommandBuildContext pContext) ResourceArgument.Info.Template.instantiate(CommandBuildContext pContext) ResourceKeyArgument.Info.Template.instantiate(CommandBuildContext pContext) ResourceOrTagArgument.Info.Template.instantiate(CommandBuildContext pContext) ResourceOrTagKeyArgument.Info.Template.instantiate(CommandBuildContext pContext) ResourceSelectorArgument.Info.Template.instantiate(CommandBuildContext pContext) ScoreHolderArgument.Info.Template.instantiate(CommandBuildContext pContext) TimeArgument.Info.Template.instantiate(CommandBuildContext pContext) ResourceOrIdArgument.lootModifier(CommandBuildContext pContext) ResourceOrIdArgument.lootPredicate(CommandBuildContext pContext) ResourceOrIdArgument.lootTable(CommandBuildContext pContext) static ParticleArgumentParticleArgument.particle(CommandBuildContext pBuildContext) static <T> ResourceArgument<T> ResourceArgument.resource(CommandBuildContext pContext, ResourceKey<? extends Registry<T>> pRegistryKey) static <T> ResourceOrTagArgument<T> ResourceOrTagArgument.resourceOrTag(CommandBuildContext pContext, ResourceKey<? extends Registry<T>> pRegistryKey) static <T> ResourceSelectorArgument<T> ResourceSelectorArgument.resourceSelector(CommandBuildContext pBuildContext, ResourceKey<? extends Registry<T>> pRegistryKey) static StyleArgumentStyleArgument.style(CommandBuildContext pContext) static ComponentArgumentComponentArgument.textComponent(CommandBuildContext pContext) Constructors in net.minecraft.commands.arguments with parameters of type CommandBuildContextModifierConstructorDescriptionprotectedDialogArgument(CommandBuildContext pContext) protectedLootModifierArgument(CommandBuildContext pContext) protectedLootPredicateArgument(CommandBuildContext pContext) protectedLootTableArgument(CommandBuildContext pContext) ParticleArgument(CommandBuildContext pBuildContext) ResourceArgument(CommandBuildContext pContext, ResourceKey<? extends Registry<T>> pRegistryKey) protectedResourceOrIdArgument(CommandBuildContext pRegistryLookup, ResourceKey<? extends Registry<T>> pRegistryKey, com.mojang.serialization.Codec<T> pCodec) ResourceOrTagArgument(CommandBuildContext pContext, ResourceKey<? extends Registry<T>> pRegistryKey) (package private)ResourceSelectorArgument(CommandBuildContext pBuildContext, ResourceKey<? extends Registry<T>> pRegistryKey) -
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 pBuildContext) static BlockPredicateArgumentBlockPredicateArgument.blockPredicate(CommandBuildContext pContext) Constructors in net.minecraft.commands.arguments.blocks with parameters of type CommandBuildContextModifierConstructorDescriptionBlockPredicateArgument(CommandBuildContext pContext) BlockStateArgument(CommandBuildContext pBuildContext) -
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 pContext) static ItemPredicateArgumentItemPredicateArgument.itemPredicate(CommandBuildContext pContext) Constructors in net.minecraft.commands.arguments.item with parameters of type CommandBuildContextModifierConstructorDescriptionItemArgument(CommandBuildContext pContext) ItemPredicateArgument(CommandBuildContext pContext) -
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 pContext) SingletonArgumentInfo.Template.instantiate(CommandBuildContext pContext) 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> pArgumentType) Constructor parameters in net.minecraft.commands.synchronization with type arguments of type CommandBuildContextModifierConstructorDescriptionprivateSingletonArgumentInfo(Function<CommandBuildContext, A> pConstructor) Template(Function<CommandBuildContext, A> pConstructor) -
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 pContext) com.mojang.brigadier.arguments.FloatArgumentTypeFloatArgumentInfo.Template.instantiate(CommandBuildContext pContext) com.mojang.brigadier.arguments.IntegerArgumentTypeIntegerArgumentInfo.Template.instantiate(CommandBuildContext pContext) com.mojang.brigadier.arguments.LongArgumentTypeLongArgumentInfo.Template.instantiate(CommandBuildContext pContext) com.mojang.brigadier.arguments.StringArgumentTypeStringArgumentSerializer.Template.instantiate(CommandBuildContext pContext) -
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> pDispatcher, CommandBuildContext pBuildContext) -
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 pContext, ClientboundCommandsPacket.NodeBuilder<S> pNodeBuilder) <S> com.mojang.brigadier.builder.ArgumentBuilder<S, ?> ClientboundCommandsPacket.LiteralNodeStub.build(CommandBuildContext pContext, ClientboundCommandsPacket.NodeBuilder<S> pNodeBuilder) <S> com.mojang.brigadier.builder.ArgumentBuilder<S, ?> ClientboundCommandsPacket.NodeStub.build(CommandBuildContext pContext, ClientboundCommandsPacket.NodeBuilder<S> pNodeBuilder) <S> com.mojang.brigadier.tree.RootCommandNode<S> ClientboundCommandsPacket.getRoot(CommandBuildContext pContext, ClientboundCommandsPacket.NodeBuilder<S> pNodeBuilder) Constructors in net.minecraft.network.protocol.game with parameters of type CommandBuildContextModifierConstructorDescription(package private)NodeResolver(CommandBuildContext pContext, ClientboundCommandsPacket.NodeBuilder<S> pBuilder, List<ClientboundCommandsPacket.Entry> pEntries) -
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> pParent, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> pLiteral, boolean pIsIf, CommandBuildContext pBuildContext) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> ScoreboardCommand.addNumberFormats(CommandBuildContext pContext, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, ScoreboardCommand.NumberFormatCommandExecutor pExecutor) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.beginEndDestinationAndModeSuffix(CommandBuildContext pBuildContext, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> pLevelGetter) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.destinationAndStrictSuffix(CommandBuildContext pBuildContext, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> pSourceLevelGetter, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, ServerLevel> pDestinationLevelGetter) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> CloneCommands.modeSuffix(CommandBuildContext pBuildContext, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pBegin, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pEnd, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, CloneCommands.DimensionAndPosition> pDestination, boolean pStrict, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder) static voidAttributeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidBossBarCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidClearInventoryCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidCloneCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidDamageCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidDataPackCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pBuildContext) static voidDebugConfigCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidDialogCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pBuildContext) static voidEffectCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidEnchantCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidExecuteCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pBuildContext) static voidFillBiomeCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidFillCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pBuildContext) static voidGameRuleCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pCommandBuildContext) static voidGiveCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidItemCommands.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidLocateCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidLootCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidParticleCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidRaidCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidScoreboardCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidSetBlockCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pBuildContext) static voidSummonCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidTeamCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidTellRawCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidTitleCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pContext) static voidWaypointCommand.register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> pDispatcher, CommandBuildContext pBuildContext) private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> FillCommand.wrapWithMode(CommandBuildContext pBuildContext, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> pArgumentBuilder, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> pFrom, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockPos> pTo, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, BlockInput> pBlock, FillCommand.NullableCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, Predicate<BlockInWorld>> pFilter) -
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_)