Class ContentRegistrar

java.lang.Object
dev.jaxydog.astral.register.ContentRegistrar
All Implemented Interfaces:
Registered, Registered.All, Registered.Client, Registered.Common, Registered.Generated, Registered.Server
Direct Known Subclasses:
AstralActions, AstralBlocks, AstralConditions, AstralData, AstralDataLoaders, AstralGamerules, AstralItemGroups, AstralItems, AstralPotions, AstralPowers, AstralSoundEvents, AstralStatusEffects, AstralTrinketPredicates, CustomContent

public abstract class ContentRegistrar extends Object implements Registered.All, Registered.Generated
Implements the automatic registration system for extending classes.

Extending classes should typically be final and only contain subclasses or public static final fields. They should be singletons with their only instance being placed within the CustomContent class.

Since:
1.5.0
See Also:
  • Constructor Details

    • ContentRegistrar

      public ContentRegistrar()
  • Method Details