Annotation Interface Item
Marks a class as an item definition for JSON generation.
When annotated, the annotation processor will generate a corresponding JSON file in the resources directory.
@Item(id = "mymod:ruby_sword")
public class RubySword implements TaleItem {
// ...
}
-
Required Element Summary
Required Elements
-
Element Details
-
id
String idThe unique identifier for this item.Format:
namespace:item_name- Returns:
- the item identifier
-