Package net.minecraft.command
Interface CommandRegistryAccess
- All Superinterfaces:
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 ep
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic CommandRegistryAccessof(RegistryWrapper.WrapperLookup wrapperLookup, FeatureSet enabledFeatures) Methods inherited from interface net.minecraft.registry.RegistryWrapper.WrapperLookup
createRegistryLookup, getOps, getOptionalWrapper, getWrapperOrThrow, streamAllRegistryKeys
-
Method Details
-
of
static CommandRegistryAccess of(RegistryWrapper.WrapperLookup wrapperLookup, 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 aLep;a(Ljo$a;Lcpl;)Lep;
-