Uses of Enum Class
net.minecraft.commands.Commands.CommandSelection
Packages that use Commands.CommandSelection
-
Uses of Commands.CommandSelection in net.minecraft.commands
Subclasses with type arguments of type Commands.CommandSelection in net.minecraft.commandsMethods in net.minecraft.commands that return Commands.CommandSelectionModifier and TypeMethodDescriptionstatic Commands.CommandSelectionReturns 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 commandSelection, CommandBuildContext context) -
Uses of Commands.CommandSelection in net.minecraft.server
Fields in net.minecraft.server declared as Commands.CommandSelectionModifier and TypeFieldDescriptionprivate final Commands.CommandSelectionWorldLoader.InitConfig.commandSelectionThe field for thecommandSelectionrecord component.Methods in net.minecraft.server that return Commands.CommandSelectionModifier and TypeMethodDescriptionWorldLoader.InitConfig.commandSelection()Returns the value of thecommandSelectionrecord component.Methods in net.minecraft.server with parameters of type Commands.CommandSelectionModifier and TypeMethodDescriptionReloadableServerResources.loadResources(ResourceManager resourceManager, LayeredRegistryAccess<RegistryLayer> contextLayers, List<Registry.PendingTags<?>> updatedContextTags, FeatureFlagSet enabledFeatures, Commands.CommandSelection commandSelection, PermissionSet functionCompilationPermissions, Executor backgroundExecutor, Executor mainThreadExecutor) Constructors in net.minecraft.server with parameters of type Commands.CommandSelectionModifierConstructorDescriptionInitConfig(WorldLoader.PackConfig packConfig, Commands.CommandSelection commandSelection, PermissionSet functionCompilationPermissions) Creates an instance of aInitConfigrecord class.privateReloadableServerResources(LayeredRegistryAccess<RegistryLayer> fullLayers, HolderLookup.Provider loadingContext, FeatureFlagSet enabledFeatures, Commands.CommandSelection commandSelection, List<Registry.PendingTags<?>> postponedTags, PermissionSet functionCompilationPermissions, List<DataComponentInitializers.PendingComponents<?>> newComponents) -
Uses of Commands.CommandSelection in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as Commands.CommandSelectionModifier and TypeFieldDescriptionprivate final Commands.CommandSelectionRegisterCommandsEvent.environmentMethods 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 voidEventHooks.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)