Interface Registered.Server

All Superinterfaces:
Registered
All Known Subinterfaces:
Registered.All
All Known Implementing Classes:
ArmorMap, AstralActions, AstralBlocks, AstralConditions, AstralData, AstralDataLoaders, AstralGamerules, AstralItemGroups, AstralItems, AstralPotions, AstralPowers, AstralSoundEvents, AstralStatusEffects, AstralTrinketPredicates, ContentRegistrar, CustomContent, DyeMap, PlaceholderMimicItem.Group, RegisteredMap
Enclosing interface:
Registered

public static interface Registered.Server extends Registered
Represents a type that should be registered on the server, but not the client environment (unless playing in single-player).
Since:
1.0.0
See Also:
  • Method Details

    • registerServer

      void registerServer()
      Registers this value on the server environment.

      The contained code will only ever run on the game server. If you only want the client or want both, see its sister interfaces.

      Since:
      1.0.0
      See Also: