Class FeatureSet

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

public final class FeatureSet extends Object
Mappings:
Namespace Name
official caw
intermediary net/minecraft/class_7699
named net/minecraft/resource/featuretoggle/FeatureSet
  • Field Details

    • EMPTY

      private static final FeatureSet EMPTY
      Mappings:
      Namespace Name Mixin selector
      official b Lcaw;b:Lcaw;
      intermediary field_40173 Lnet/minecraft/class_7699;field_40173:Lnet/minecraft/class_7699;
      named EMPTY Lnet/minecraft/resource/featuretoggle/FeatureSet;EMPTY:Lnet/minecraft/resource/featuretoggle/FeatureSet;
    • MAX_FEATURE_FLAGS

      public static final int MAX_FEATURE_FLAGS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a:I
      intermediary field_40172 Lnet/minecraft/class_7699;field_40172:I
      named MAX_FEATURE_FLAGS Lnet/minecraft/resource/featuretoggle/FeatureSet;MAX_FEATURE_FLAGS:I
    • universe

      @Nullable private final @Nullable FeatureUniverse universe
      Mappings:
      Namespace Name Mixin selector
      official c Lcaw;c:Lcax;
      intermediary field_40174 Lnet/minecraft/class_7699;field_40174:Lnet/minecraft/class_7700;
      named universe Lnet/minecraft/resource/featuretoggle/FeatureSet;universe:Lnet/minecraft/resource/featuretoggle/FeatureUniverse;
    • featuresMask

      private final long featuresMask
      Mappings:
      Namespace Name Mixin selector
      official d Lcaw;d:J
      intermediary field_40175 Lnet/minecraft/class_7699;field_40175:J
      named featuresMask Lnet/minecraft/resource/featuretoggle/FeatureSet;featuresMask:J
  • Constructor Details

    • FeatureSet

      private FeatureSet(@Nullable @Nullable FeatureUniverse universe, long featuresMask)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcaw;<init>(Lcax;J)V
      intermediary <init> Lnet/minecraft/class_7699;<init>(Lnet/minecraft/class_7700;J)V
      named <init> Lnet/minecraft/resource/featuretoggle/FeatureSet;<init>(Lnet/minecraft/resource/featuretoggle/FeatureUniverse;J)V
  • Method Details

    • of

      static FeatureSet of(FeatureUniverse universe, Collection<FeatureFlag> features)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lcax;Ljava/util/Collection;)Lcaw;
      intermediary method_45402 Lnet/minecraft/class_7699;method_45402(Lnet/minecraft/class_7700;Ljava/util/Collection;)Lnet/minecraft/class_7699;
      named of Lnet/minecraft/resource/featuretoggle/FeatureSet;of(Lnet/minecraft/resource/featuretoggle/FeatureUniverse;Ljava/util/Collection;)Lnet/minecraft/resource/featuretoggle/FeatureSet;
    • empty

      public static FeatureSet empty()
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a()Lcaw;
      intermediary method_45397 Lnet/minecraft/class_7699;method_45397()Lnet/minecraft/class_7699;
      named empty Lnet/minecraft/resource/featuretoggle/FeatureSet;empty()Lnet/minecraft/resource/featuretoggle/FeatureSet;
    • of

      public static FeatureSet of(FeatureFlag feature)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lcau;)Lcaw;
      intermediary method_45398 Lnet/minecraft/class_7699;method_45398(Lnet/minecraft/class_7696;)Lnet/minecraft/class_7699;
      named of Lnet/minecraft/resource/featuretoggle/FeatureSet;of(Lnet/minecraft/resource/featuretoggle/FeatureFlag;)Lnet/minecraft/resource/featuretoggle/FeatureSet;
    • of

      public static FeatureSet of(FeatureFlag feature1, FeatureFlag[] features)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lcau;[Lcau;)Lcaw;
      intermediary method_45399 Lnet/minecraft/class_7699;method_45399(Lnet/minecraft/class_7696;[Lnet/minecraft/class_7696;)Lnet/minecraft/class_7699;
      named of Lnet/minecraft/resource/featuretoggle/FeatureSet;of(Lnet/minecraft/resource/featuretoggle/FeatureFlag;[Lnet/minecraft/resource/featuretoggle/FeatureFlag;)Lnet/minecraft/resource/featuretoggle/FeatureSet;
    • combineMask

      private static long combineMask(FeatureUniverse universe, long featuresMask, Iterable<FeatureFlag> newFeatures)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lcax;JLjava/lang/Iterable;)J
      intermediary method_45401 Lnet/minecraft/class_7699;method_45401(Lnet/minecraft/class_7700;JLjava/lang/Iterable;)J
      named combineMask Lnet/minecraft/resource/featuretoggle/FeatureSet;combineMask(Lnet/minecraft/resource/featuretoggle/FeatureUniverse;JLjava/lang/Iterable;)J
    • contains

      public boolean contains(FeatureFlag feature)
      Mappings:
      Namespace Name Mixin selector
      official b Lcaw;b(Lcau;)Z
      intermediary method_45403 Lnet/minecraft/class_7699;method_45403(Lnet/minecraft/class_7696;)Z
      named contains Lnet/minecraft/resource/featuretoggle/FeatureSet;contains(Lnet/minecraft/resource/featuretoggle/FeatureFlag;)Z
    • isSubsetOf

      public boolean isSubsetOf(FeatureSet features)
      Mappings:
      Namespace Name Mixin selector
      official a Lcaw;a(Lcaw;)Z
      intermediary method_45400 Lnet/minecraft/class_7699;method_45400(Lnet/minecraft/class_7699;)Z
      named isSubsetOf Lnet/minecraft/resource/featuretoggle/FeatureSet;isSubsetOf(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Z
    • combine

      public FeatureSet combine(FeatureSet features)
      Mappings:
      Namespace Name Mixin selector
      official b Lcaw;b(Lcaw;)Lcaw;
      intermediary method_45404 Lnet/minecraft/class_7699;method_45404(Lnet/minecraft/class_7699;)Lnet/minecraft/class_7699;
      named combine Lnet/minecraft/resource/featuretoggle/FeatureSet;combine(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Lnet/minecraft/resource/featuretoggle/FeatureSet;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lcaw;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_7699;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/resource/featuretoggle/FeatureSet;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object