Annotation Interface Block
Marks a class as a block definition for JSON generation.
When annotated, the annotation processor will generate a corresponding JSON file in the resources directory.
@Block(id = "mymod:magic_stone")
public class MagicStone implements TaleBlock {
// ...
}
-
Required Element Summary
Required Elements
-
Element Details
-
id
String idThe unique identifier for this block.Format:
namespace:block_name- Returns:
- the block identifier
-