Class FeatureManager.Builder
java.lang.Object
net.minecraft.resource.featuretoggle.FeatureManager.Builder
- Enclosing class:
FeatureManager
- Mappings:
Namespace Name official cav$a
intermediary net/minecraft/class_7697$class_7698
named net/minecraft/resource/featuretoggle/FeatureManager$Builder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<Identifier,
FeatureFlag> private int
private final FeatureUniverse
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddFlag
(Identifier feature) addVanillaFlag
(String feature) build()
-
Field Details
-
universe
- Mappings:
Namespace Name Mixin selector official a
Lcav$a;a:Lcax;
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
Lcav$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
- Mappings:
Namespace Name Mixin selector official c
Lcav$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
- Mappings:
Namespace Name Mixin selector official <init>
Lcav$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
- Mappings:
Namespace Name Mixin selector official a
Lcav$a;a(Ljava/lang/String;)Lcau;
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
- Mappings:
Namespace Name Mixin selector official a
Lcav$a;a(Lacq;)Lcau;
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
- Mappings:
Namespace Name Mixin selector official a
Lcav$a;a()Lcav;
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;
-