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
CommandManager
constructor) provides an instance with proper configurations. - Mappings:
Namespace Name named net/minecraft/command/CommandRegistryAccess
intermediary net/minecraft/class_7157
official ep
-
Method Summary
Modifier and TypeMethodDescriptionstatic CommandRegistryAccess
of
(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 of
Lnet/minecraft/command/CommandRegistryAccess;of(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lnet/minecraft/resource/featuretoggle/FeatureSet;)Lnet/minecraft/command/CommandRegistryAccess;
intermediary method_46722
Lnet/minecraft/class_7157;method_46722(Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_7699;)Lnet/minecraft/class_7157;
official a
Lep;a(Ljo$a;Lcpl;)Lep;
-