Class FeatureSet

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

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

    • EMPTY

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

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

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

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

    • FeatureSet

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

    • of

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

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

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

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

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

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

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      named isEmpty Lnet/minecraft/resource/featuretoggle/FeatureSet;isEmpty()Z
      intermediary method_58398 Lnet/minecraft/class_7699;method_58398()Z
      official b Lcpj;b()Z
    • isSubsetOf

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

      public boolean intersects(FeatureSet features)
      Mappings:
      Namespace Name Mixin selector
      named intersects Lnet/minecraft/resource/featuretoggle/FeatureSet;intersects(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Z
      intermediary method_59819 Lnet/minecraft/class_7699;method_59819(Lnet/minecraft/class_7699;)Z
      official b Lcpj;b(Lcpj;)Z
    • combine

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

      public FeatureSet subtract(FeatureSet features)
      Mappings:
      Namespace Name Mixin selector
      named subtract Lnet/minecraft/resource/featuretoggle/FeatureSet;subtract(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Lnet/minecraft/resource/featuretoggle/FeatureSet;
      intermediary method_59820 Lnet/minecraft/class_7699;method_59820(Lnet/minecraft/class_7699;)Lnet/minecraft/class_7699;
      official d Lcpj;d(Lcpj;)Lcpj;
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object