Package net.minestom.server.featureflag
Interface FeatureFlag
- All Superinterfaces:
net.kyori.adventure.key.Keyed,ProtocolObject,StaticProtocolObject
- All Known Implementing Classes:
FeatureFlagImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FeatureFlagstatic final FeatureFlagstatic final FeatureFlagstatic final FeatureFlag -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable FeatureFlagfromNamespaceId(@NotNull String namespaceID) static @Nullable FeatureFlagfromNamespaceId(@NotNull NamespaceID namespaceID) @NotNull NamespaceIDregistry()Returns the entity registry.static @NotNull Collection<@NotNull FeatureFlag> values()Methods inherited from interface net.minestom.server.registry.ProtocolObject
key, nameMethods 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:
namespacein interfaceProtocolObject
-
values
-
fromNamespaceId
-
fromNamespaceId
-