Package net.minecraft.world.flag
Class FeatureFlagSet
java.lang.Object
net.minecraft.world.flag.FeatureFlagSet
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final FeatureFlagSet
private final long
static final int
private final FeatureFlagUniverse
-
Constructor Summary
ModifierConstructorDescriptionprivate
FeatureFlagSet
(FeatureFlagUniverse p_250433_, long p_251523_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static long
computeMask
(FeatureFlagUniverse p_249684_, long p_250982_, Iterable<FeatureFlag> p_251734_) boolean
contains
(FeatureFlag p_249521_) (package private) static FeatureFlagSet
create
(FeatureFlagUniverse p_251573_, Collection<FeatureFlag> p_251037_) boolean
int
hashCode()
boolean
intersects
(FeatureFlagSet p_332490_) boolean
isEmpty()
boolean
isSubsetOf
(FeatureFlagSet p_249164_) join
(FeatureFlagSet p_251527_) static FeatureFlagSet
of()
static FeatureFlagSet
of
(FeatureFlag p_252331_) static FeatureFlagSet
of
(FeatureFlag p_251008_, FeatureFlag... p_249805_) subtract
(FeatureFlagSet p_328325_)
-
Field Details
-
EMPTY
-
MAX_CONTAINER_SIZE
public static final int MAX_CONTAINER_SIZE- See Also:
-
universe
-
mask
private final long mask
-
-
Constructor Details
-
FeatureFlagSet
-
-
Method Details
-
create
-
of
-
of
-
of
-
computeMask
private static long computeMask(FeatureFlagUniverse p_249684_, long p_250982_, Iterable<FeatureFlag> p_251734_) -
contains
-
isEmpty
public boolean isEmpty() -
isSubsetOf
-
intersects
-
join
-
subtract
-
equals
-
hashCode
public int hashCode()
-