Package net.minecraft.server.command
Enum Class CommandManager.RegistrationEnvironment
java.lang.Object
java.lang.Enum<CommandManager.RegistrationEnvironment>
net.minecraft.server.command.CommandManager.RegistrationEnvironment
- All Implemented Interfaces:
- Serializable,- Comparable<CommandManager.RegistrationEnvironment>,- Constable
- Enclosing class:
- CommandManager
public static enum CommandManager.RegistrationEnvironment
extends Enum<CommandManager.RegistrationEnvironment>
Describes the environment in which commands are registered.
- Mappings:
- Namespace - Name - named - net/minecraft/server/command/CommandManager$RegistrationEnvironment- intermediary - net/minecraft/class_2170$class_5364- official - ey$a
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) final boolean(package private) final boolean
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateRegistrationEnvironment(boolean integrated, boolean dedicated) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
ALL- Mappings:
- Namespace - Name - Mixin selector - named - ALL- Lnet/minecraft/server/command/CommandManager$RegistrationEnvironment;ALL:Lnet/minecraft/server/command/CommandManager$RegistrationEnvironment;- intermediary - field_25419- Lnet/minecraft/class_2170$class_5364;field_25419:Lnet/minecraft/class_2170$class_5364;- official - a- Ley$a;a:Ley$a;
 
- 
DEDICATED- Mappings:
- Namespace - Name - Mixin selector - named - DEDICATED- Lnet/minecraft/server/command/CommandManager$RegistrationEnvironment;DEDICATED:Lnet/minecraft/server/command/CommandManager$RegistrationEnvironment;- intermediary - field_25420- Lnet/minecraft/class_2170$class_5364;field_25420:Lnet/minecraft/class_2170$class_5364;- official - b- Ley$a;b:Ley$a;
 
- 
INTEGRATED- Mappings:
- Namespace - Name - Mixin selector - named - INTEGRATED- Lnet/minecraft/server/command/CommandManager$RegistrationEnvironment;INTEGRATED:Lnet/minecraft/server/command/CommandManager$RegistrationEnvironment;- intermediary - field_25421- Lnet/minecraft/class_2170$class_5364;field_25421:Lnet/minecraft/class_2170$class_5364;- official - c- Ley$a;c:Ley$a;
 
 
- 
- 
Field Details- 
integratedfinal boolean integrated- Mappings:
- Namespace - Name - Mixin selector - named - integrated- Lnet/minecraft/server/command/CommandManager$RegistrationEnvironment;integrated:Z- intermediary - field_25422- Lnet/minecraft/class_2170$class_5364;field_25422:Z- official - d- Ley$a;d:Z
 
- 
dedicatedfinal boolean dedicated- Mappings:
- Namespace - Name - Mixin selector - named - dedicated- Lnet/minecraft/server/command/CommandManager$RegistrationEnvironment;dedicated:Z- intermediary - field_25423- Lnet/minecraft/class_2170$class_5364;field_25423:Z- official - e- Ley$a;e:Z
 
 
- 
- 
Constructor Details- 
RegistrationEnvironmentprivate RegistrationEnvironment(boolean integrated, boolean dedicated) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/server/command/CommandManager$RegistrationEnvironment;<init>(Ljava/lang/String;IZZ)V- intermediary - <init>- Lnet/minecraft/class_2170$class_5364;<init>(Ljava/lang/String;IZZ)V- official - <init>- Ley$a;<init>(Ljava/lang/String;IZZ)V
 
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-