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
named net/minecraft/resource/featuretoggle/FeatureManager$Builder
intermediary net/minecraft/class_7697$class_7698
official cpl$a
  • Field Details

    • universe

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

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

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

    • Builder

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

    • addVanillaFlag

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

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

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