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_248588_, LayeredRegistryAccess<RegistryLayer> p_335667_, FeatureFlagSet p_250212_, Commands.CommandSelection p_249301_, int p_251126_, Executor p_249136_, Executor p_249601_) ModifierConstructorDescriptionInitConfig
(WorldLoader.PackConfig packConfig, Commands.CommandSelection commandSelection, int functionCompilationLevel) Creates an instance of aInitConfig
record class.private
ReloadableServerResources
(RegistryAccess.Frozen p_206857_, FeatureFlagSet p_250695_, Commands.CommandSelection p_206858_, int p_206859_) -
Uses of Commands.CommandSelection in net.neoforged.neoforge.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
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)