Annotation Interface PlainRegisterable
This annotation can be added to a class to instruct ModInit to always register instances of that class without
a registry and don't check the element type. Note that this annotation is disallowed on interfaces. Also note
that it's insufficient that the value assigned to a field has this annotation, it must be present on the fields
type. Suppose a class
A with @PlainRegisterable. The following field declaration will work:
public static final A value = new A();
while this field declaration won't:
public static final Object value = new A();
as in this case the field type is Object which is not annotated with @PlainRegisterable.