Uses of Interface
net.minecraft.commands.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
Modifier and TypeMethodDescriptionstatic CommandBuildContext
Commands.createValidationContext
(HolderLookup.Provider p_256243_) static CommandBuildContext
CommandBuildContext.simple
(HolderLookup.Provider p_255702_, FeatureFlagSet p_255968_) ModifierConstructorDescriptionCommands
(Commands.CommandSelection p_230943_, CommandBuildContext p_230944_) -
Uses of CommandBuildContext in net.minecraft.commands.arguments
Modifier 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_) static ParticleArgument
ParticleArgument.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_) ModifierConstructorDescriptionParticleArgument
(CommandBuildContext p_249844_) ResourceArgument
(CommandBuildContext p_248597_, ResourceKey<? extends Registry<T>> p_251778_) ResourceOrTagArgument
(CommandBuildContext p_249382_, ResourceKey<? extends Registry<T>> p_251209_) -
Uses of CommandBuildContext in net.minecraft.commands.arguments.blocks
Modifier and TypeMethodDescriptionstatic BlockStateArgument
BlockStateArgument.block
(CommandBuildContext p_234651_) static BlockPredicateArgument
BlockPredicateArgument.blockPredicate
(CommandBuildContext p_234628_) ModifierConstructorDescriptionBlockPredicateArgument
(CommandBuildContext p_234626_) BlockStateArgument
(CommandBuildContext p_234649_) -
Uses of CommandBuildContext in net.minecraft.commands.arguments.item
Modifier and TypeMethodDescriptionstatic ItemArgument
ItemArgument.item
(CommandBuildContext p_235280_) static ItemPredicateArgument
ItemPredicateArgument.itemPredicate
(CommandBuildContext p_235354_) ModifierConstructorDescriptionItemArgument
(CommandBuildContext p_235278_) ItemPredicateArgument
(CommandBuildContext p_235352_) -
Uses of CommandBuildContext in net.minecraft.commands.synchronization
Modifier and TypeFieldDescriptionprivate final Function<CommandBuildContext,
A> SingletonArgumentInfo.Template.constructor
Modifier and TypeMethodDescriptionArgumentTypeInfo.Template.instantiate
(CommandBuildContext p_235378_) SingletonArgumentInfo.Template.instantiate
(CommandBuildContext p_235469_) Modifier and TypeMethodDescriptionstatic <T extends com.mojang.brigadier.arguments.ArgumentType<?>>
SingletonArgumentInfo<T>SingletonArgumentInfo.contextAware
(Function<CommandBuildContext, T> p_235450_) ModifierConstructorDescriptionprivate
SingletonArgumentInfo
(Function<CommandBuildContext, A> p_235434_) Template
(Function<CommandBuildContext, A> p_235466_) -
Uses of CommandBuildContext in net.minecraft.commands.synchronization.brigadier
Modifier and TypeMethodDescriptioncom.mojang.brigadier.arguments.DoubleArgumentType
DoubleArgumentInfo.Template.instantiate
(CommandBuildContext p_235500_) com.mojang.brigadier.arguments.FloatArgumentType
FloatArgumentInfo.Template.instantiate
(CommandBuildContext p_235533_) com.mojang.brigadier.arguments.IntegerArgumentType
IntegerArgumentInfo.Template.instantiate
(CommandBuildContext p_235566_) com.mojang.brigadier.arguments.LongArgumentType
LongArgumentInfo.Template.instantiate
(CommandBuildContext p_235599_) com.mojang.brigadier.arguments.StringArgumentType
StringArgumentSerializer.Template.instantiate
(CommandBuildContext p_235629_) -
Uses of CommandBuildContext in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final CommandBuildContext
ClientboundCommandsPacket.NodeResolver.context
Modifier 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_) ModifierConstructorDescription(package private)
NodeResolver
(CommandBuildContext p_237689_, List<ClientboundCommandsPacket.Entry> p_237690_) -
Uses of CommandBuildContext in net.minecraft.server.commands
Modifier 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,
?> 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 void
AttributeCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_251026_, CommandBuildContext p_250936_) static void
ClearInventoryCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214421_, CommandBuildContext p_214422_) static void
CloneCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214424_, CommandBuildContext p_214425_) static void
DamageCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_270226_, CommandBuildContext p_270136_) static void
EffectCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136954_, CommandBuildContext p_251610_) static void
EnchantCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_251241_, CommandBuildContext p_251038_) static void
ExecuteCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214435_, CommandBuildContext p_214436_) static void
FillBiomeCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_261867_, CommandBuildContext p_262155_) static void
FillCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214443_, CommandBuildContext p_214444_) static void
GiveCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214446_, CommandBuildContext p_214447_) static void
ItemCommands.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214449_, CommandBuildContext p_214450_) static void
LocateCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_249870_, CommandBuildContext p_248936_) static void
LootCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214516_, CommandBuildContext p_214517_) static void
ParticleCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138123_, CommandBuildContext p_248587_) static void
SetBlockCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_214731_, CommandBuildContext p_214732_) static void
SummonCommand.register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_250343_, CommandBuildContext p_250122_) -
Uses of CommandBuildContext in net.neoforged.neoforge.client
Modifier 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
Modifier and TypeFieldDescriptionprivate final CommandBuildContext
RegisterClientCommandsEvent.context
Modifier and TypeMethodDescriptionRegisterClientCommandsEvent.getBuildContext()
Returns the context to build the commands for.ModifierConstructorDescriptionRegisterClientCommandsEvent
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) -
Uses of CommandBuildContext in net.neoforged.neoforge.event
Modifier and TypeMethodDescriptionRegisterCommandsEvent.getBuildContext()
Returns the context to build the commands for.Modifier and TypeMethodDescriptionstatic void
EventHooks.onCommandRegister
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment, CommandBuildContext context) ModifierConstructorDescriptionRegisterCommandsEvent
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment, CommandBuildContext context) -
Uses of CommandBuildContext in net.neoforged.neoforge.server.command
Modifier and TypeMethodDescriptionEnumArgument.Info.Template.instantiate
(CommandBuildContext p_223435_)