Class FeatureFlags

java.lang.Object
net.minecraft.resource.featuretoggle.FeatureFlags

public class FeatureFlags extends Object
Mappings:
Namespace Name
official caw
intermediary net/minecraft/class_7701
named net/minecraft/resource/featuretoggle/FeatureFlags
  • Field Details

    • VANILLA

      public static final FeatureFlag VANILLA
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a:Lcas;
      intermediary field_40177 Lnet/minecraft/class_7701;field_40177:Lnet/minecraft/class_7696;
      named VANILLA Lnet/minecraft/resource/featuretoggle/FeatureFlags;VANILLA:Lnet/minecraft/resource/featuretoggle/FeatureFlag;
    • BUNDLE

      public static final FeatureFlag BUNDLE
      Mappings:
      Namespace Name Mixin selector
      official b Lcaw;b:Lcas;
      intermediary field_40178 Lnet/minecraft/class_7701;field_40178:Lnet/minecraft/class_7696;
      named BUNDLE Lnet/minecraft/resource/featuretoggle/FeatureFlags;BUNDLE:Lnet/minecraft/resource/featuretoggle/FeatureFlag;
    • FEATURE_MANAGER

      public static final FeatureManager FEATURE_MANAGER
      Mappings:
      Namespace Name Mixin selector
      official c Lcaw;c:Lcat;
      intermediary field_40180 Lnet/minecraft/class_7701;field_40180:Lnet/minecraft/class_7697;
      named FEATURE_MANAGER Lnet/minecraft/resource/featuretoggle/FeatureFlags;FEATURE_MANAGER:Lnet/minecraft/resource/featuretoggle/FeatureManager;
    • CODEC

      public static final com.mojang.serialization.Codec<FeatureSet> CODEC
      Mappings:
      Namespace Name Mixin selector
      official d Lcaw;d:Lcom/mojang/serialization/Codec;
      intermediary field_40181 Lnet/minecraft/class_7701;field_40181:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/resource/featuretoggle/FeatureFlags;CODEC:Lcom/mojang/serialization/Codec;
    • VANILLA_FEATURES

      public static final FeatureSet VANILLA_FEATURES
      Mappings:
      Namespace Name Mixin selector
      official e Lcaw;e:Lcau;
      intermediary field_40182 Lnet/minecraft/class_7701;field_40182:Lnet/minecraft/class_7699;
      named VANILLA_FEATURES Lnet/minecraft/resource/featuretoggle/FeatureFlags;VANILLA_FEATURES:Lnet/minecraft/resource/featuretoggle/FeatureSet;
    • DEFAULT_ENABLED_FEATURES

      public static final FeatureSet DEFAULT_ENABLED_FEATURES
      Mappings:
      Namespace Name Mixin selector
      official f Lcaw;f:Lcau;
      intermediary field_40183 Lnet/minecraft/class_7701;field_40183:Lnet/minecraft/class_7699;
      named DEFAULT_ENABLED_FEATURES Lnet/minecraft/resource/featuretoggle/FeatureFlags;DEFAULT_ENABLED_FEATURES:Lnet/minecraft/resource/featuretoggle/FeatureSet;
  • Constructor Details

    • FeatureFlags

      public FeatureFlags()
  • Method Details

    • printMissingFlags

      public static String printMissingFlags(FeatureSet featuresToCheck, FeatureSet features)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lcau;Lcau;)Ljava/lang/String;
      intermediary method_45407 Lnet/minecraft/class_7701;method_45407(Lnet/minecraft/class_7699;Lnet/minecraft/class_7699;)Ljava/lang/String;
      named printMissingFlags Lnet/minecraft/resource/featuretoggle/FeatureFlags;printMissingFlags(Lnet/minecraft/resource/featuretoggle/FeatureSet;Lnet/minecraft/resource/featuretoggle/FeatureSet;)Ljava/lang/String;
    • printMissingFlags

      public static String printMissingFlags(FeatureManager featureManager, FeatureSet featuresToCheck, FeatureSet features)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lcat;Lcau;Lcau;)Ljava/lang/String;
      intermediary method_45405 Lnet/minecraft/class_7701;method_45405(Lnet/minecraft/class_7697;Lnet/minecraft/class_7699;Lnet/minecraft/class_7699;)Ljava/lang/String;
      named printMissingFlags Lnet/minecraft/resource/featuretoggle/FeatureFlags;printMissingFlags(Lnet/minecraft/resource/featuretoggle/FeatureManager;Lnet/minecraft/resource/featuretoggle/FeatureSet;Lnet/minecraft/resource/featuretoggle/FeatureSet;)Ljava/lang/String;
    • isNotVanilla

      public static boolean isNotVanilla(FeatureSet features)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lcau;)Z
      intermediary method_45406 Lnet/minecraft/class_7701;method_45406(Lnet/minecraft/class_7699;)Z
      named isNotVanilla Lnet/minecraft/resource/featuretoggle/FeatureFlags;isNotVanilla(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Z