程序包 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.

另请参阅:
  - Features Toggles - Minecraft Article

- ## 嵌套类概要

  嵌套类
  修饰符和类型
  类
  说明
  `static enum`
  `MinecraftExperimental.Requires`
  An enum identifying a feature flag required by a `MinecraftExperimental` feature.

- ## 必需元素概要

  所需元素
  修饰符和类型
  必需的元素
  说明
  `MinecraftExperimental.Requires`
  `value`
  Get the feature that must be enabled for the annotated object to be valid.

- ## 元素详细资料

  - ### value

    MinecraftExperimental.Requires 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