Package net.minecraft.world.flag
Class FeatureFlagRegistry
java.lang.Object
net.minecraft.world.flag.FeatureFlagRegistry
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final FeatureFlagSet
private static final org.slf4j.Logger
private final Map
<ResourceLocation, FeatureFlag> private final FeatureFlagUniverse
-
Constructor Summary
ConstructorDescriptionFeatureFlagRegistry
(FeatureFlagUniverse p_249715_, FeatureFlagSet p_249277_, Map<ResourceLocation, FeatureFlag> p_249557_) -
Method Summary
Modifier and TypeMethodDescriptionallFlags()
com.mojang.serialization.Codec
<FeatureFlagSet> codec()
fromNames
(Iterable<ResourceLocation> p_250759_) fromNames
(Iterable<ResourceLocation> p_251769_, Consumer<ResourceLocation> p_251521_) boolean
isSubset
(FeatureFlagSet p_251939_) subset
(FeatureFlag... p_252295_) toNames
(FeatureFlagSet p_251153_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
universe
-
names
-
allFlags
-
-
Constructor Details
-
FeatureFlagRegistry
FeatureFlagRegistry(FeatureFlagUniverse p_249715_, FeatureFlagSet p_249277_, Map<ResourceLocation, FeatureFlag> p_249557_)
-
-
Method Details
-
isSubset
-
allFlags
-
fromNames
-
subset
-
fromNames
public FeatureFlagSet fromNames(Iterable<ResourceLocation> p_251769_, Consumer<ResourceLocation> p_251521_) -
toNames
-
codec
-