Uses of Enum Class
net.minecraft.commands.Commands.CommandSelection
Packages that use Commands.CommandSelection
-
Uses of Commands.CommandSelection in net.minecraft.commands
Methods in net.minecraft.commands that return Commands.CommandSelectionModifier 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.Constructors in net.minecraft.commands with parameters of type Commands.CommandSelectionModifierConstructorDescriptionCommands
(Commands.CommandSelection p_230943_, CommandBuildContext p_230944_) -
Uses of Commands.CommandSelection in net.minecraft.server
Fields in net.minecraft.server declared as Commands.CommandSelectionModifier and TypeFieldDescriptionprivate final Commands.CommandSelection
WorldLoader.InitConfig.commandSelection
The field for thecommandSelection
record component.Methods in net.minecraft.server that return Commands.CommandSelectionModifier and TypeMethodDescriptionWorldLoader.InitConfig.commandSelection()
Returns the value of thecommandSelection
record component.Methods in net.minecraft.server with parameters of type Commands.CommandSelectionModifier 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_) Constructors in net.minecraft.server with parameters of type Commands.CommandSelectionModifierConstructorDescriptionInitConfig
(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
Fields in net.neoforged.neoforge.event declared as Commands.CommandSelectionModifier and TypeFieldDescriptionprivate final Commands.CommandSelection
RegisterCommandsEvent.environment
Methods in net.neoforged.neoforge.event that return Commands.CommandSelectionModifier and TypeMethodDescriptionRegisterCommandsEvent.getCommandSelection()
Returns the environment the command is being registered for.Methods in net.neoforged.neoforge.event with parameters of type Commands.CommandSelectionModifier and TypeMethodDescriptionstatic void
EventHooks.onCommandRegister
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment, CommandBuildContext context) Constructors in net.neoforged.neoforge.event with parameters of type Commands.CommandSelectionModifierConstructorDescriptionRegisterCommandsEvent
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, Commands.CommandSelection environment, CommandBuildContext context)