程序包 org.bukkit
注解 MinecraftExperimental
@Documented
@Retention(CLASS)
@Target({TYPE,ANNOTATION_TYPE,METHOD,CONSTRUCTOR,FIELD,PACKAGE})
@Internal
public @interface MinecraftExperimental
Indicates that the annotated element (class, method, field, etc.) is part of a
minecraft experimental feature
and is subject to changes by Mojang.
Note: Elements marked with this annotation require the use of a datapack or otherwise non-standard feature to be enabled on the server.
-
嵌套类概要
修饰符和类型类说明static enum
An enum identifying a feature flag required by aMinecraftExperimental
feature. -
必需元素概要
修饰符和类型必需的元素说明Get the feature that must be enabled for the annotated object to be valid.
-
元素详细资料
-
value
Get the feature that must be enabled for the annotated object to be valid.While this value is not used anywhere in Bukkit, it is a convenience value to assist in locating relevant annotated elements for removal once no longer deemed an experimental feature by Minecraft. See
MinecraftExperimental.Requires
for information about use in plugins.- 返回:
- the required feature flag
-