CLASS net/minecraft/class_7157 net/minecraft/command/CommandRegistryAccess COMMENT A class that creates {@link RegistryWrapper} with ability to set a policy on COMMENT how to handle unrecognized tags. COMMENT COMMENT @apiNote You usually do not need to create your own instance; the command registration COMMENT callbacks (such as {@link net.minecraft.server.command.CommandManager} constructor) COMMENT provides an instance with proper configurations. METHOD method_41699 createWrapper (Lnet/minecraft/class_5321;)Lnet/minecraft/class_7225; COMMENT Creates a registry wrapper that follows the entry list creation policy. ARG 1 registryRef COMMENT the registry key of the registry to wrap METHOD method_46722 of (Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_7699;)Lnet/minecraft/class_7157; ARG 0 wrapperLookup ARG 1 enabledFeatures METHOD method_46723 of (Lnet/minecraft/class_5455;Lnet/minecraft/class_7699;)Lnet/minecraft/class_7157$class_7870; ARG 0 registryManager ARG 1 enabledFeatures CLASS 2 FIELD field_40912 entryListCreationPolicy Lnet/minecraft/class_7157$class_7158; CLASS class_7158 EntryListCreationPolicy COMMENT A policy on how to handle a {@link net.minecraft.registry.tag.TagKey} that does not resolve COMMENT to an existing tag (unrecognized tag) in {@link COMMENT net.minecraft.registry.RegistryWrapper#getOptional(net.minecraft.registry.tag.TagKey)}. FIELD field_37824 Lnet/minecraft/class_7157$class_7158; COMMENT Creates a new {@link net.minecraft.registry.entry.RegistryEntryList}, stores it and returns it. FIELD field_37826 Lnet/minecraft/class_7157$class_7158; COMMENT Throws an exception. CLASS class_7870 EntryListCreationPolicySettable METHOD method_46724 setEntryListCreationPolicy (Lnet/minecraft/class_7157$class_7158;)V ARG 1 entryListCreationPolicy