Package io.papermc.paper.world.flag
Interface FeatureFlagSetHolder
- All Known Subinterfaces:
LimitedRegion
,RegionAccessor
,World
,WorldInfo
-
Method Summary
Modifier and TypeMethodDescriptionGet allFeatureFlags
enabled in this world.default boolean
isEnabled
(FeatureDependant featureDependant) Checks if this is enabled based on the loaded feature flags.
-
Method Details
-
isEnabled
Checks if this is enabled based on the loaded feature flags.- Returns:
- true if enabled
-
getFeatureFlags
@Unmodifiable Set<FeatureFlag> getFeatureFlags()Get allFeatureFlags
enabled in this world.- Returns:
- all enabled
FeatureFlags
-