Class FeatureManager

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

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/resource/featuretoggle/FeatureManager;LOGGER:Lorg/slf4j/Logger;
      intermediary field_40165 Lnet/minecraft/class_7697;field_40165:Lorg/slf4j/Logger;
      official a Lcoy;a:Lorg/slf4j/Logger;
    • universe

      private final FeatureUniverse universe
      Mappings:
      Namespace Name Mixin selector
      named universe Lnet/minecraft/resource/featuretoggle/FeatureManager;universe:Lnet/minecraft/resource/featuretoggle/FeatureUniverse;
      intermediary field_40166 Lnet/minecraft/class_7697;field_40166:Lnet/minecraft/class_7700;
      official b Lcoy;b:Lcpa;
    • featureFlags

      private final Map<Identifier,FeatureFlag> featureFlags
      Mappings:
      Namespace Name Mixin selector
      named featureFlags Lnet/minecraft/resource/featuretoggle/FeatureManager;featureFlags:Ljava/util/Map;
      intermediary field_40167 Lnet/minecraft/class_7697;field_40167:Ljava/util/Map;
      official c Lcoy;c:Ljava/util/Map;
    • featureSet

      private final FeatureSet featureSet
      Mappings:
      Namespace Name Mixin selector
      named featureSet Lnet/minecraft/resource/featuretoggle/FeatureManager;featureSet:Lnet/minecraft/resource/featuretoggle/FeatureSet;
      intermediary field_40168 Lnet/minecraft/class_7697;field_40168:Lnet/minecraft/class_7699;
      official d Lcoy;d:Lcoz;
  • Constructor Details

    • FeatureManager

      FeatureManager(FeatureUniverse universe, FeatureSet featureSet, Map<Identifier,FeatureFlag> featureFlags)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/resource/featuretoggle/FeatureManager;<init>(Lnet/minecraft/resource/featuretoggle/FeatureUniverse;Lnet/minecraft/resource/featuretoggle/FeatureSet;Ljava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_7697;<init>(Lnet/minecraft/class_7700;Lnet/minecraft/class_7699;Ljava/util/Map;)V
      official <init> Lcoy;<init>(Lcpa;Lcoz;Ljava/util/Map;)V
  • Method Details

    • contains

      public boolean contains(FeatureSet features)
      Mappings:
      Namespace Name Mixin selector
      named contains Lnet/minecraft/resource/featuretoggle/FeatureManager;contains(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Z
      intermediary method_45385 Lnet/minecraft/class_7697;method_45385(Lnet/minecraft/class_7699;)Z
      official a Lcoy;a(Lcoz;)Z
    • getFeatureSet

      public FeatureSet getFeatureSet()
      Mappings:
      Namespace Name Mixin selector
      named getFeatureSet Lnet/minecraft/resource/featuretoggle/FeatureManager;getFeatureSet()Lnet/minecraft/resource/featuretoggle/FeatureSet;
      intermediary method_45383 Lnet/minecraft/class_7697;method_45383()Lnet/minecraft/class_7699;
      official a Lcoy;a()Lcoz;
    • featureSetOf

      public FeatureSet featureSetOf(Iterable<Identifier> features)
      Mappings:
      Namespace Name Mixin selector
      named featureSetOf Lnet/minecraft/resource/featuretoggle/FeatureManager;featureSetOf(Ljava/lang/Iterable;)Lnet/minecraft/resource/featuretoggle/FeatureSet;
      intermediary method_45387 Lnet/minecraft/class_7697;method_45387(Ljava/lang/Iterable;)Lnet/minecraft/class_7699;
      official a Lcoy;a(Ljava/lang/Iterable;)Lcoz;
    • featureSetOf

      public FeatureSet featureSetOf(FeatureFlag[] features)
      Mappings:
      Namespace Name Mixin selector
      named featureSetOf Lnet/minecraft/resource/featuretoggle/FeatureManager;featureSetOf([Lnet/minecraft/resource/featuretoggle/FeatureFlag;)Lnet/minecraft/resource/featuretoggle/FeatureSet;
      intermediary method_45390 Lnet/minecraft/class_7697;method_45390([Lnet/minecraft/class_7696;)Lnet/minecraft/class_7699;
      official a Lcoy;a([Lcox;)Lcoz;
    • featureSetOf

      public FeatureSet featureSetOf(Iterable<Identifier> features, Consumer<Identifier> unknownFlagConsumer)
      Mappings:
      Namespace Name Mixin selector
      named featureSetOf Lnet/minecraft/resource/featuretoggle/FeatureManager;featureSetOf(Ljava/lang/Iterable;Ljava/util/function/Consumer;)Lnet/minecraft/resource/featuretoggle/FeatureSet;
      intermediary method_45388 Lnet/minecraft/class_7697;method_45388(Ljava/lang/Iterable;Ljava/util/function/Consumer;)Lnet/minecraft/class_7699;
      official a Lcoy;a(Ljava/lang/Iterable;Ljava/util/function/Consumer;)Lcoz;
    • toId

      public Set<Identifier> toId(FeatureSet features)
      Mappings:
      Namespace Name Mixin selector
      named toId Lnet/minecraft/resource/featuretoggle/FeatureManager;toId(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Ljava/util/Set;
      intermediary method_45392 Lnet/minecraft/class_7697;method_45392(Lnet/minecraft/class_7699;)Ljava/util/Set;
      official b Lcoy;b(Lcoz;)Ljava/util/Set;
    • getCodec

      public com.mojang.serialization.Codec<FeatureSet> getCodec()
      Mappings:
      Namespace Name Mixin selector
      named getCodec Lnet/minecraft/resource/featuretoggle/FeatureManager;getCodec()Lcom/mojang/serialization/Codec;
      intermediary method_45391 Lnet/minecraft/class_7697;method_45391()Lcom/mojang/serialization/Codec;
      official b Lcoy;b()Lcom/mojang/serialization/Codec;