Class FeatureSet
java.lang.Object
net.minecraft.resource.featuretoggle.FeatureSet
- Mappings:
Namespace Name named net/minecraft/resource/featuretoggle/FeatureSet
intermediary net/minecraft/class_7699
official cpm
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final FeatureSet
private final long
static final int
private final @Nullable FeatureUniverse
-
Constructor Summary
ModifierConstructorDescriptionprivate
FeatureSet
(@Nullable FeatureUniverse universe, long featuresMask) -
Method Summary
Modifier and TypeMethodDescriptioncombine
(FeatureSet features) private static long
combineMask
(FeatureUniverse universe, long featuresMask, Iterable<FeatureFlag> newFeatures) boolean
contains
(FeatureFlag feature) static FeatureSet
empty()
boolean
int
hashCode()
boolean
intersects
(FeatureSet features) boolean
isEmpty()
boolean
isSubsetOf
(FeatureSet features) static FeatureSet
of
(FeatureFlag feature) static FeatureSet
of
(FeatureFlag feature1, FeatureFlag[] features) (package private) static FeatureSet
of
(FeatureUniverse universe, Collection<FeatureFlag> features) subtract
(FeatureSet features)
-
Field Details
-
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
Lcpm;b:Lcpm;
-
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
Lcpm;a:I
-
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
Lcpm;c:Lcpn;
-
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
Lcpm;d:J
-
-
Constructor Details
-
FeatureSet
- 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>
Lcpm;<init>(Lcpn;J)V
-
-
Method Details
-
of
- 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
Lcpm;a(Lcpn;Ljava/util/Collection;)Lcpm;
-
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
Lcpm;a()Lcpm;
-
of
- 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
Lcpm;a(Lcpk;)Lcpm;
-
of
- 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
Lcpm;a(Lcpk;[Lcpk;)Lcpm;
-
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
Lcpm;a(Lcpn;JLjava/lang/Iterable;)J
-
contains
- 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
Lcpm;b(Lcpk;)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
Lcpm;b()Z
-
isSubsetOf
- 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
Lcpm;a(Lcpm;)Z
-
intersects
- 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
Lcpm;b(Lcpm;)Z
-
combine
- 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
Lcpm;c(Lcpm;)Lcpm;
-
subtract
- 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
Lcpm;d(Lcpm;)Lcpm;
-
equals
-
hashCode
public int hashCode()
-