Uses of Enum Class
net.minecraft.commands.Commands.CommandSelection
-
Uses of Commands.CommandSelection in net.minecraft.commands
Modifier and TypeMethodDescriptionstatic Commands.CommandSelection
Returns the enum constant of this class with the specified name.static Commands.CommandSelection[]
Commands.CommandSelection.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionCommands
(Commands.CommandSelection p_230943_, CommandBuildContext p_230944_) -
Uses of Commands.CommandSelection in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final Commands.CommandSelection
WorldLoader.InitConfig.commandSelection
The field for thecommandSelection
record component.Modifier and TypeMethodDescriptionWorldLoader.InitConfig.commandSelection()
Returns the value of thecommandSelection
record component.Modifier and TypeMethodDescriptionReloadableServerResources.loadResources
(ResourceManager p_206862_, RegistryAccess.Frozen p_206863_, Commands.CommandSelection p_206864_, int p_206865_, Executor p_206866_, Executor p_206867_) ModifierConstructorDescriptionInitConfig
(WorldLoader.PackConfig packConfig, Commands.CommandSelection commandSelection, int functionCompilationLevel) Creates an instance of aInitConfig
record class.ReloadableServerResources
(RegistryAccess.Frozen p_206857_, Commands.CommandSelection p_206858_, int p_206859_) -
Uses of Commands.CommandSelection in net.minecraftforge.event
Modifier and TypeFieldDescriptionprivate final Commands.CommandSelection
RegisterCommandsEvent.environment
Modifier and TypeMethodDescriptionRegisterCommandsEvent.getCommandSelection()
Returns the environment the command is being registered for.Modifier and TypeMethodDescriptionstatic void
ForgeEventFactory.onCommandRegister
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment, CommandBuildContext context) ModifierConstructorDescriptionRegisterCommandsEvent
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment, CommandBuildContext context)