Interface CommandRegistryAccess

All Superinterfaces:
RegistryWrapper.WrapperLookup

public interface CommandRegistryAccess extends 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 el
  • 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 Lel;a(Ljk$a;Lcpn;)Lel;