Class FeatureSet
java.lang.Object
net.minecraft.resource.featuretoggle.FeatureSet
- Mappings:
Namespace Name official cauintermediary net/minecraft/class_7699named net/minecraft/resource/featuretoggle/FeatureSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final FeatureSetprivate final longstatic final intprivate final @Nullable FeatureUniverse -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFeatureSet(@Nullable FeatureUniverse universe, long featuresMask) -
Method Summary
Modifier and TypeMethodDescriptioncombine(FeatureSet features) private static longcombineMask(FeatureUniverse universe, long featuresMask, Iterable<FeatureFlag> newFeatures) booleancontains(FeatureFlag feature) static FeatureSetempty()booleaninthashCode()booleanisSubsetOf(FeatureSet features) static FeatureSetof(FeatureFlag feature) static FeatureSetof(FeatureFlag feature1, FeatureFlag[] features) (package private) static FeatureSetof(FeatureUniverse universe, Collection<FeatureFlag> features)
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector official bLcau;b:Lcau;intermediary field_40173Lnet/minecraft/class_7699;field_40173:Lnet/minecraft/class_7699;named EMPTYLnet/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 aLcau;a:Iintermediary field_40172Lnet/minecraft/class_7699;field_40172:Inamed MAX_FEATURE_FLAGSLnet/minecraft/resource/featuretoggle/FeatureSet;MAX_FEATURE_FLAGS:I
-
universe
- Mappings:
Namespace Name Mixin selector official cLcau;c:Lcav;intermediary field_40174Lnet/minecraft/class_7699;field_40174:Lnet/minecraft/class_7700;named universeLnet/minecraft/resource/featuretoggle/FeatureSet;universe:Lnet/minecraft/resource/featuretoggle/FeatureUniverse;
-
featuresMask
private final long featuresMask- Mappings:
Namespace Name Mixin selector official dLcau;d:Jintermediary field_40175Lnet/minecraft/class_7699;field_40175:Jnamed featuresMaskLnet/minecraft/resource/featuretoggle/FeatureSet;featuresMask:J
-
-
Constructor Details
-
FeatureSet
- Mappings:
Namespace Name Mixin selector official <init>Lcau;<init>(Lcav;J)Vintermediary <init>Lnet/minecraft/class_7699;<init>(Lnet/minecraft/class_7700;J)Vnamed <init>Lnet/minecraft/resource/featuretoggle/FeatureSet;<init>(Lnet/minecraft/resource/featuretoggle/FeatureUniverse;J)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official aLcau;a(Lcav;Ljava/util/Collection;)Lcau;intermediary method_45402Lnet/minecraft/class_7699;method_45402(Lnet/minecraft/class_7700;Ljava/util/Collection;)Lnet/minecraft/class_7699;named ofLnet/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 aLcau;a()Lcau;intermediary method_45397Lnet/minecraft/class_7699;method_45397()Lnet/minecraft/class_7699;named emptyLnet/minecraft/resource/featuretoggle/FeatureSet;empty()Lnet/minecraft/resource/featuretoggle/FeatureSet;
-
of
- Mappings:
Namespace Name Mixin selector official aLcau;a(Lcas;)Lcau;intermediary method_45398Lnet/minecraft/class_7699;method_45398(Lnet/minecraft/class_7696;)Lnet/minecraft/class_7699;named ofLnet/minecraft/resource/featuretoggle/FeatureSet;of(Lnet/minecraft/resource/featuretoggle/FeatureFlag;)Lnet/minecraft/resource/featuretoggle/FeatureSet;
-
of
- Mappings:
Namespace Name Mixin selector official aLcau;a(Lcas;[Lcas;)Lcau;intermediary method_45399Lnet/minecraft/class_7699;method_45399(Lnet/minecraft/class_7696;[Lnet/minecraft/class_7696;)Lnet/minecraft/class_7699;named ofLnet/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 aLcau;a(Lcav;JLjava/lang/Iterable;)Jintermediary method_45401Lnet/minecraft/class_7699;method_45401(Lnet/minecraft/class_7700;JLjava/lang/Iterable;)Jnamed combineMaskLnet/minecraft/resource/featuretoggle/FeatureSet;combineMask(Lnet/minecraft/resource/featuretoggle/FeatureUniverse;JLjava/lang/Iterable;)J
-
contains
- Mappings:
Namespace Name Mixin selector official bLcau;b(Lcas;)Zintermediary method_45403Lnet/minecraft/class_7699;method_45403(Lnet/minecraft/class_7696;)Znamed containsLnet/minecraft/resource/featuretoggle/FeatureSet;contains(Lnet/minecraft/resource/featuretoggle/FeatureFlag;)Z
-
isSubsetOf
- Mappings:
Namespace Name Mixin selector official aLcau;a(Lcau;)Zintermediary method_45400Lnet/minecraft/class_7699;method_45400(Lnet/minecraft/class_7699;)Znamed isSubsetOfLnet/minecraft/resource/featuretoggle/FeatureSet;isSubsetOf(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Z
-
combine
- Mappings:
Namespace Name Mixin selector official bLcau;b(Lcau;)Lcau;intermediary method_45404Lnet/minecraft/class_7699;method_45404(Lnet/minecraft/class_7699;)Lnet/minecraft/class_7699;named combineLnet/minecraft/resource/featuretoggle/FeatureSet;combine(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Lnet/minecraft/resource/featuretoggle/FeatureSet;
-
equals
-
hashCode
public int hashCode()
-