Class FeatureManager

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

public class FeatureManager extends Object
Mappings:
Namespace Name
official cat
intermediary net/minecraft/class_7697
named net/minecraft/resource/featuretoggle/FeatureManager
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lcat;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

      private final FeatureUniverse universe
      Mappings:
      Namespace Name Mixin selector
      official b Lcat;b:Lcav;
      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

      private final Map<Identifier,FeatureFlag> featureFlags
      Mappings:
      Namespace Name Mixin selector
      official c Lcat;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

      private final FeatureSet featureSet
      Mappings:
      Namespace Name Mixin selector
      official d Lcat;d:Lcau;
      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> Lcat;<init>(Lcav;Lcau;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

      public boolean contains(FeatureSet features)
      Mappings:
      Namespace Name Mixin selector
      official a Lcat;a(Lcau;)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

      public FeatureSet getFeatureSet()
      Mappings:
      Namespace Name Mixin selector
      official a Lcat;a()Lcau;
      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

      public FeatureSet featureSetOf(Iterable<Identifier> features)
      Mappings:
      Namespace Name Mixin selector
      official a Lcat;a(Ljava/lang/Iterable;)Lcau;
      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

      public FeatureSet featureSetOf(FeatureFlag[] features)
      Mappings:
      Namespace Name Mixin selector
      official a Lcat;a([Lcas;)Lcau;
      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 Lcat;a(Ljava/lang/Iterable;Ljava/util/function/Consumer;)Lcau;
      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

      public Set<Identifier> toId(FeatureSet features)
      Mappings:
      Namespace Name Mixin selector
      official b Lcat;b(Lcau;)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

      public com.mojang.serialization.Codec<FeatureSet> getCodec()
      Mappings:
      Namespace Name Mixin selector
      official b Lcat;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;