Files
Iris/src/main/java/com/volmit/config/Feature.java
T
piexel f6c078aade Remove feature aliases, the one-option shorthand and reserved host fields
A setting has one JSON key, its feature id, and one shape, its settings object.
Aliases were the only reason for reserved host fields (ids contain ':', host
fields never do), so ModuleHost.reservingFields goes too.
2026-10-09 20:19:08 +02:00

15 lines
433 B
Java

package com.volmit.config;
import java.lang.annotation.*;
/** Identity and JSON attachment for an IrisFeature configuration class. Packs write the settings under
* their feature id, such as {@code "example:moss": {...}}, at each of the targets.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Feature {
String id();
String name();
com.volmit.FeatureAttachment.Target[] targets();
}