dev.polymodloader.api.stability
자동 생성
이 페이지는 소스의 Javadoc에서 ./gradlew apiReference로 만든 것입니다. 설명은 코드에 적힌 영어 그대로입니다. 직접 고치지 말고 소스의 주석을 고친 뒤 다시 만드세요.
| 형식 | 종류 | 설명 |
|---|---|---|
ApiStability | 애너테이션 | Declares the StabilityLevel of a Poly Mod Loader type. |
StabilityLevel | 열거형 | Compatibility promise of a Poly Mod Loader API element (design doc §5.4). |
ApiStability
애너테이션 · 안정성 PREVIEW · 추가된 버전 0.1.0-alpha.4 또는 그 이전
public @interface ApiStability extends Annotation
Declares the StabilityLevel of a Poly Mod Loader type. The annotation is Documented so the level appears in JavaDoc and IntelliJ quick documentation, and retained at run time so tools such as the API capability inspector can report it.
value()
StabilityLevel value()
추가된 버전 0.1.0-alpha.4 또는 그 이전
The stability level of the annotated element.
반환 StabilityLevel
StabilityLevel
열거형 · 추가된 버전 0.1.0-alpha.4 또는 그 이전
public enum StabilityLevel
Compatibility promise of a Poly Mod Loader API element (design doc §5.4). Every public type declares one through ApiStability.
| 상수 | 설명 |
|---|---|
STABLE | Public compatibility policy; breaking changes require an API version bump and migration notes. |
PREVIEW | Usable, but the contract may still change. Changes are recorded in the changelog. |
VERSION_BOUND | Bound to specific Minecraft versions and reached through a version adapter. |
INTERNAL | Used only by Poly Mod Loader's own modules. Mods must not depend on it. |
UNSAFE | Low-level behaviour that can crash the game or corrupt world data; requires explicit opt-in. |