Class FeatureManager.Builder

java.lang.Object
net.minecraft.resource.featuretoggle.FeatureManager.Builder
Enclosing class:
FeatureManager

public static class FeatureManager.Builder extends Object
Mappings:
Namespace Name
official cat$a
intermediary net/minecraft/class_7697$class_7698
named net/minecraft/resource/featuretoggle/FeatureManager$Builder
  • Field Details

    • universe

      private final FeatureUniverse universe
      Mappings:
      Namespace Name Mixin selector
      official a Lcat$a;a:Lcav;
      intermediary field_40169 Lnet/minecraft/class_7697$class_7698;field_40169:Lnet/minecraft/class_7700;
      named universe Lnet/minecraft/resource/featuretoggle/FeatureManager$Builder;universe:Lnet/minecraft/resource/featuretoggle/FeatureUniverse;
    • id

      private int id
      Mappings:
      Namespace Name Mixin selector
      official b Lcat$a;b:I
      intermediary field_40170 Lnet/minecraft/class_7697$class_7698;field_40170:I
      named id Lnet/minecraft/resource/featuretoggle/FeatureManager$Builder;id:I
    • featureFlags

      private final Map<Identifier,FeatureFlag> featureFlags
      Mappings:
      Namespace Name Mixin selector
      official c Lcat$a;c:Ljava/util/Map;
      intermediary field_40171 Lnet/minecraft/class_7697$class_7698;field_40171:Ljava/util/Map;
      named featureFlags Lnet/minecraft/resource/featuretoggle/FeatureManager$Builder;featureFlags:Ljava/util/Map;
  • Constructor Details

    • Builder

      public Builder(String universe)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcat$a;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_7697$class_7698;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/resource/featuretoggle/FeatureManager$Builder;<init>(Ljava/lang/String;)V
  • Method Details

    • addVanillaFlag

      public FeatureFlag addVanillaFlag(String feature)
      Mappings:
      Namespace Name Mixin selector
      official a Lcat$a;a(Ljava/lang/String;)Lcas;
      intermediary method_45396 Lnet/minecraft/class_7697$class_7698;method_45396(Ljava/lang/String;)Lnet/minecraft/class_7696;
      named addVanillaFlag Lnet/minecraft/resource/featuretoggle/FeatureManager$Builder;addVanillaFlag(Ljava/lang/String;)Lnet/minecraft/resource/featuretoggle/FeatureFlag;
    • addFlag

      public FeatureFlag addFlag(Identifier feature)
      Mappings:
      Namespace Name Mixin selector
      official a Lcat$a;a(Lacq;)Lcas;
      intermediary method_45395 Lnet/minecraft/class_7697$class_7698;method_45395(Lnet/minecraft/class_2960;)Lnet/minecraft/class_7696;
      named addFlag Lnet/minecraft/resource/featuretoggle/FeatureManager$Builder;addFlag(Lnet/minecraft/util/Identifier;)Lnet/minecraft/resource/featuretoggle/FeatureFlag;
    • build

      public FeatureManager build()
      Mappings:
      Namespace Name Mixin selector
      official a Lcat$a;a()Lcat;
      intermediary method_45394 Lnet/minecraft/class_7697$class_7698;method_45394()Lnet/minecraft/class_7697;
      named build Lnet/minecraft/resource/featuretoggle/FeatureManager$Builder;build()Lnet/minecraft/resource/featuretoggle/FeatureManager;