본문으로 건너뛰기
버전: Minecraft 26.2

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.

상수설명
STABLEPublic compatibility policy; breaking changes require an API version bump and migration notes.
PREVIEWUsable, but the contract may still change. Changes are recorded in the changelog.
VERSION_BOUNDBound to specific Minecraft versions and reached through a version adapter.
INTERNALUsed only by Poly Mod Loader's own modules. Mods must not depend on it.
UNSAFELow-level behaviour that can crash the game or corrupt world data; requires explicit opt-in.
Buy me a coffee