Package net.minestom.server.featureflag
Interface FeatureFlag
- All Superinterfaces:
net.kyori.adventure.key.Keyed
,ProtocolObject
,StaticProtocolObject
- All Known Implementing Classes:
FeatureFlagImpl
-
Field Summary
Modifier and TypeFieldDescriptionstatic final FeatureFlag
static final FeatureFlag
static final FeatureFlag
static final FeatureFlag
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable FeatureFlag
fromNamespaceId
(@NotNull String namespaceID) static @Nullable FeatureFlag
fromNamespaceId
(@NotNull NamespaceID namespaceID) @NotNull NamespaceID
registry()
Returns the entity registry.static @NotNull Collection
<@NotNull FeatureFlag> values()
Methods inherited from interface net.minestom.server.registry.ProtocolObject
key, name
Methods inherited from interface net.minestom.server.registry.StaticProtocolObject
id
-
Field Details
-
UPDATE_1_21
-
BUNDLE
-
VANILLA
-
TRADE_REBALANCE
-
-
Method Details
-
registry
Returns the entity registry.- Returns:
- the entity registry or null if it was created with a builder
-
namespace
- Specified by:
namespace
in interfaceProtocolObject
-
values
-
fromNamespaceId
-
fromNamespaceId
-