Class FeatureManager
java.lang.Object
net.minecraft.resource.featuretoggle.FeatureManager
- Mappings:
Namespace Name official cav
intermediary net/minecraft/class_7697
named net/minecraft/resource/featuretoggle/FeatureManager
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<Identifier,
FeatureFlag> private final FeatureSet
private static final Logger
private final FeatureUniverse
-
Constructor Summary
ConstructorDescriptionFeatureManager
(FeatureUniverse universe, FeatureSet featureSet, Map<Identifier, FeatureFlag> featureFlags) -
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(FeatureSet features) featureSetOf
(Iterable<Identifier> features) featureSetOf
(Iterable<Identifier> features, Consumer<Identifier> unknownFlagConsumer) featureSetOf
(FeatureFlag[] features) com.mojang.serialization.Codec<FeatureSet>
getCodec()
toId
(FeatureSet features)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lcav;a:Lorg/slf4j/Logger;
intermediary field_40165
Lnet/minecraft/class_7697;field_40165:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/resource/featuretoggle/FeatureManager;LOGGER:Lorg/slf4j/Logger;
-
universe
- Mappings:
Namespace Name Mixin selector official b
Lcav;b:Lcax;
intermediary field_40166
Lnet/minecraft/class_7697;field_40166:Lnet/minecraft/class_7700;
named universe
Lnet/minecraft/resource/featuretoggle/FeatureManager;universe:Lnet/minecraft/resource/featuretoggle/FeatureUniverse;
-
featureFlags
- Mappings:
Namespace Name Mixin selector official c
Lcav;c:Ljava/util/Map;
intermediary field_40167
Lnet/minecraft/class_7697;field_40167:Ljava/util/Map;
named featureFlags
Lnet/minecraft/resource/featuretoggle/FeatureManager;featureFlags:Ljava/util/Map;
-
featureSet
- Mappings:
Namespace Name Mixin selector official d
Lcav;d:Lcaw;
intermediary field_40168
Lnet/minecraft/class_7697;field_40168:Lnet/minecraft/class_7699;
named featureSet
Lnet/minecraft/resource/featuretoggle/FeatureManager;featureSet:Lnet/minecraft/resource/featuretoggle/FeatureSet;
-
-
Constructor Details
-
FeatureManager
FeatureManager(FeatureUniverse universe, FeatureSet featureSet, Map<Identifier, FeatureFlag> featureFlags) - Mappings:
Namespace Name Mixin selector official <init>
Lcav;<init>(Lcax;Lcaw;Ljava/util/Map;)V
intermediary <init>
Lnet/minecraft/class_7697;<init>(Lnet/minecraft/class_7700;Lnet/minecraft/class_7699;Ljava/util/Map;)V
named <init>
Lnet/minecraft/resource/featuretoggle/FeatureManager;<init>(Lnet/minecraft/resource/featuretoggle/FeatureUniverse;Lnet/minecraft/resource/featuretoggle/FeatureSet;Ljava/util/Map;)V
-
-
Method Details
-
contains
- Mappings:
Namespace Name Mixin selector official a
Lcav;a(Lcaw;)Z
intermediary method_45385
Lnet/minecraft/class_7697;method_45385(Lnet/minecraft/class_7699;)Z
named contains
Lnet/minecraft/resource/featuretoggle/FeatureManager;contains(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Z
-
getFeatureSet
- Mappings:
Namespace Name Mixin selector official a
Lcav;a()Lcaw;
intermediary method_45383
Lnet/minecraft/class_7697;method_45383()Lnet/minecraft/class_7699;
named getFeatureSet
Lnet/minecraft/resource/featuretoggle/FeatureManager;getFeatureSet()Lnet/minecraft/resource/featuretoggle/FeatureSet;
-
featureSetOf
- Mappings:
Namespace Name Mixin selector official a
Lcav;a(Ljava/lang/Iterable;)Lcaw;
intermediary method_45387
Lnet/minecraft/class_7697;method_45387(Ljava/lang/Iterable;)Lnet/minecraft/class_7699;
named featureSetOf
Lnet/minecraft/resource/featuretoggle/FeatureManager;featureSetOf(Ljava/lang/Iterable;)Lnet/minecraft/resource/featuretoggle/FeatureSet;
-
featureSetOf
- Mappings:
Namespace Name Mixin selector official a
Lcav;a([Lcau;)Lcaw;
intermediary method_45390
Lnet/minecraft/class_7697;method_45390([Lnet/minecraft/class_7696;)Lnet/minecraft/class_7699;
named featureSetOf
Lnet/minecraft/resource/featuretoggle/FeatureManager;featureSetOf([Lnet/minecraft/resource/featuretoggle/FeatureFlag;)Lnet/minecraft/resource/featuretoggle/FeatureSet;
-
featureSetOf
public FeatureSet featureSetOf(Iterable<Identifier> features, Consumer<Identifier> unknownFlagConsumer) - Mappings:
Namespace Name Mixin selector official a
Lcav;a(Ljava/lang/Iterable;Ljava/util/function/Consumer;)Lcaw;
intermediary method_45388
Lnet/minecraft/class_7697;method_45388(Ljava/lang/Iterable;Ljava/util/function/Consumer;)Lnet/minecraft/class_7699;
named featureSetOf
Lnet/minecraft/resource/featuretoggle/FeatureManager;featureSetOf(Ljava/lang/Iterable;Ljava/util/function/Consumer;)Lnet/minecraft/resource/featuretoggle/FeatureSet;
-
toId
- Mappings:
Namespace Name Mixin selector official b
Lcav;b(Lcaw;)Ljava/util/Set;
intermediary method_45392
Lnet/minecraft/class_7697;method_45392(Lnet/minecraft/class_7699;)Ljava/util/Set;
named toId
Lnet/minecraft/resource/featuretoggle/FeatureManager;toId(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Ljava/util/Set;
-
getCodec
- Mappings:
Namespace Name Mixin selector official b
Lcav;b()Lcom/mojang/serialization/Codec;
intermediary method_45391
Lnet/minecraft/class_7697;method_45391()Lcom/mojang/serialization/Codec;
named getCodec
Lnet/minecraft/resource/featuretoggle/FeatureManager;getCodec()Lcom/mojang/serialization/Codec;
-