Class FeatureSet
java.lang.Object
net.minecraft.resource.featuretoggle.FeatureSet
- Mappings:
Namespace Name official cec
intermediary net/minecraft/class_7699
named net/minecraft/resource/featuretoggle/FeatureSet
-
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
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)
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector official b
Lcec;b:Lcec;
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
Lcec;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
- Mappings:
Namespace Name Mixin selector official c
Lcec;c:Lced;
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
Lcec;d:J
intermediary field_40175
Lnet/minecraft/class_7699;field_40175:J
named featuresMask
Lnet/minecraft/resource/featuretoggle/FeatureSet;featuresMask:J
-
-
Constructor Details
-
FeatureSet
- Mappings:
Namespace Name Mixin selector official <init>
Lcec;<init>(Lced;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
- Mappings:
Namespace Name Mixin selector official a
Lcec;a(Lced;Ljava/util/Collection;)Lcec;
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
- Mappings:
Namespace Name Mixin selector official a
Lcec;a()Lcec;
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
- Mappings:
Namespace Name Mixin selector official a
Lcec;a(Lcea;)Lcec;
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
- Mappings:
Namespace Name Mixin selector official a
Lcec;a(Lcea;[Lcea;)Lcec;
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
Lcec;a(Lced;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
- Mappings:
Namespace Name Mixin selector official b
Lcec;b(Lcea;)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
- Mappings:
Namespace Name Mixin selector official a
Lcec;a(Lcec;)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
- Mappings:
Namespace Name Mixin selector official b
Lcec;b(Lcec;)Lcec;
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
-
hashCode
public int hashCode()
-