mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 16:25:36 +00:00
- Split into Gradle subprojects api (com.volmit:iris-api) and host (com.volmit:iris-host). ExposedPackages never exposes com.volmit.host. - One unchecked ModuleLoadException(moduleId, origin, message, cause) for every load error; messages unchanged. - PlacementAccess.set(x, y, z, state) next to set(PlacedBlock). - BlockState: precompiled patterns, withProperty copies once. - Mantle and layer views are made once per invocation. - Hunk getters are width(), height(), depth(). - Held types and host types are deprecated for removal at the cut-over. - Docs: artifacts, one-or-more modules per jar, no option shorthand.
14 lines
461 B
Java
14 lines
461 B
Java
package com.volmit.config;
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
/** Says what an option's text names, such as {@code @Ref(Reference.BLOCK) String block}. Allowed on
|
|
* {@code String} and {@link com.volmit.resource.ResourceId} options and on lists, sets and arrays of
|
|
* them, where it applies to every element. Anywhere else it fails the pack load.
|
|
*/
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Target(ElementType.FIELD)
|
|
public @interface Ref {
|
|
Reference value();
|
|
}
|