Interface CommandRegistryAccess

All Superinterfaces:
RegistryEntryLookup.RegistryLookup, 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 es
  • Method Details

    • of

      static CommandRegistryAccess of(RegistryWrapper.WrapperLookup registries, 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 Les;a(Ljs$a;Lcss;)Les;
    • getEnabledFeatures

      FeatureSet getEnabledFeatures()
      Mappings:
      Namespace Name Mixin selector
      named getEnabledFeatures Lnet/minecraft/command/CommandRegistryAccess;getEnabledFeatures()Lnet/minecraft/resource/featuretoggle/FeatureSet;
      intermediary method_64226 Lnet/minecraft/class_7157;method_64226()Lnet/minecraft/class_7699;
      official a Les;a()Lcss;