Package net.minecraft.command
Enum Class CommandRegistryAccess.EntryListCreationPolicy
java.lang.Object
java.lang.Enum<CommandRegistryAccess.EntryListCreationPolicy>
net.minecraft.command.CommandRegistryAccess.EntryListCreationPolicy
- All Implemented Interfaces:
- Serializable,- Comparable<CommandRegistryAccess.EntryListCreationPolicy>,- Constable
- Enclosing interface:
- CommandRegistryAccess
public static enum CommandRegistryAccess.EntryListCreationPolicy
extends Enum<CommandRegistryAccess.EntryListCreationPolicy>
A policy on how to handle a 
TagKey that does not resolve
 to an existing tag (unrecognized tag) in RegistryEntryLookup.getOptional(net.minecraft.registry.tag.TagKey).- Mappings:
- Namespace - Name - official - dm$b- intermediary - net/minecraft/class_7157$class_7158- named - net/minecraft/command/CommandRegistryAccess$EntryListCreationPolicy
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionCreates a newRegistryEntryList, stores it and returns it.Throws an exception.
- 
Constructor SummaryConstructors
- 
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- 
CREATE_NEWCreates a newRegistryEntryList, stores it and returns it.- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldm$b;a:Ldm$b;- intermediary - field_37824- Lnet/minecraft/class_7157$class_7158;field_37824:Lnet/minecraft/class_7157$class_7158;- named - CREATE_NEW- Lnet/minecraft/command/CommandRegistryAccess$EntryListCreationPolicy;CREATE_NEW:Lnet/minecraft/command/CommandRegistryAccess$EntryListCreationPolicy;
 
- 
FAILThrows an exception.- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldm$b;b:Ldm$b;- intermediary - field_37826- Lnet/minecraft/class_7157$class_7158;field_37826:Lnet/minecraft/class_7157$class_7158;- named - FAIL- Lnet/minecraft/command/CommandRegistryAccess$EntryListCreationPolicy;FAIL:Lnet/minecraft/command/CommandRegistryAccess$EntryListCreationPolicy;
 
 
- 
- 
Constructor Details- 
EntryListCreationPolicyprivate EntryListCreationPolicy()
 
- 
- 
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
 
 
-