Package net.minecraft.command
Interface CommandRegistryAccess
- All Superinterfaces:
 RegistryEntryLookup.RegistryLookup,RegistryWrapper.WrapperLookup
A class that creates 
RegistryWrapper with ability to set a policy on
 how to handle unrecognized tags.- API Note:
 - You usually do not need to create your own instance; the command registration
 callbacks (such as 
CommandManagerconstructor) provides an instance with proper configurations. - Mappings:
 Namespace Name named net/minecraft/command/CommandRegistryAccessintermediary net/minecraft/class_7157official eg
- 
Method Summary
Modifier and TypeMethodDescriptionstatic CommandRegistryAccessof(RegistryWrapper.WrapperLookup registries, FeatureSet enabledFeatures) Methods inherited from interface net.minecraft.registry.RegistryEntryLookup.RegistryLookup
getEntryOrThrow, getOptionalEntryMethods inherited from interface net.minecraft.registry.RegistryWrapper.WrapperLookup
getLifecycle, getOps, getOptional, getOrThrow, stream, streamAllRegistryKeys 
- 
Method Details
- 
of
static CommandRegistryAccess of(RegistryWrapper.WrapperLookup registries, FeatureSet enabledFeatures) - Mappings:
 Namespace Name Mixin selector named ofLnet/minecraft/command/CommandRegistryAccess;of(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lnet/minecraft/resource/featuretoggle/FeatureSet;)Lnet/minecraft/command/CommandRegistryAccess;intermediary method_46722Lnet/minecraft/class_7157;method_46722(Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_7699;)Lnet/minecraft/class_7157;official aLeg;a(Ljn$a;Lcyd;)Leg;
 - 
getEnabledFeatures
FeatureSet getEnabledFeatures()- Mappings:
 Namespace Name Mixin selector named getEnabledFeaturesLnet/minecraft/command/CommandRegistryAccess;getEnabledFeatures()Lnet/minecraft/resource/featuretoggle/FeatureSet;intermediary method_64226Lnet/minecraft/class_7157;method_64226()Lnet/minecraft/class_7699;official aLeg;a()Lcyd;
 
 -