Package net.darkhax.pricklemc.common.api.annotations
package net.darkhax.pricklemc.common.api.annotations
-
Annotation InterfacesClassDescriptionThis annotation can be used to enforce a specific property adapter for a given field.When this annotation is used on a collection or an array additional properties and constraints can be applied.When this annotation is used on a double property it will validate that the value is within the range, inclusive of the minimum and maximum values.When this annotation is used on a float property it will validate that the value is within the range, inclusive of the minimum and maximum values.When this annotation is used on an integer property it will validate that the value is within the range, inclusive of the minimum and maximum value.When this annotation is used on a long property it will validate that the value is within the range, inclusive of the minimum and maximum values.When this annotation is used on a String the value will be validated using the provided regex pattern.This annotation is used to mark a field for inclusion in the config schema.