Class FeatureFlags

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

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

    • VANILLA

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

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

      public static final FeatureFlag UPDATE_1_21
      Mappings:
      Namespace Name Mixin selector
      named UPDATE_1_21 Lnet/minecraft/resource/featuretoggle/FeatureFlags;UPDATE_1_21:Lnet/minecraft/resource/featuretoggle/FeatureFlag;
      intermediary field_46779 Lnet/minecraft/class_7701;field_46779:Lnet/minecraft/class_7696;
      official c Lcpp;c:Lcpl;
    • TRADE_REBALANCE

      public static final FeatureFlag TRADE_REBALANCE
      Mappings:
      Namespace Name Mixin selector
      named TRADE_REBALANCE Lnet/minecraft/resource/featuretoggle/FeatureFlags;TRADE_REBALANCE:Lnet/minecraft/resource/featuretoggle/FeatureFlag;
      intermediary field_45142 Lnet/minecraft/class_7701;field_45142:Lnet/minecraft/class_7696;
      official d Lcpp;d:Lcpl;
    • FEATURE_MANAGER

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

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

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

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

    • FeatureFlags

      public FeatureFlags()
  • Method Details

    • printMissingFlags

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

      public static String printMissingFlags(FeatureManager featureManager, FeatureSet featuresToCheck, FeatureSet features)
      Mappings:
      Namespace Name Mixin selector
      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;
      intermediary method_45405 Lnet/minecraft/class_7701;method_45405(Lnet/minecraft/class_7697;Lnet/minecraft/class_7699;Lnet/minecraft/class_7699;)Ljava/lang/String;
      official a Lcpp;a(Lcpm;Lcpn;Lcpn;)Ljava/lang/String;
    • isNotVanilla

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