Interface Registered.Common

All Superinterfaces:
Registered
All Known Subinterfaces:
Custom, Custom, Registered.All, Sprayed
All Known Implementing Classes:
ArmorMap, AstralAction, AstralActions, AstralArmorItem, AstralBlock, AstralBlockItem, AstralBlocks, AstralCondition, AstralConditions, AstralCycledItemGroup, AstralData, AstralDataLoaders, AstralGamerules, AstralItem, AstralItemGroup, AstralItemGroups, AstralItems, AstralJsonDataLoader, AstralMetaAction, AstralMetaCondition, AstralPotion, AstralPotionItem, AstralPotions, AstralPowerFactory, AstralPowers, AstralSlabBlock, AstralSoundEvent, AstralSoundEvents, AstralStairsBlock, AstralStatusEffect, AstralStatusEffects, AstralTrinketPredicate, AstralTrinketPredicates, AstralWallBlock, BottleItem, BowlItem, ChocolateMilkItem, CloudyArmorItem, CloudyItem, CobbledSandstoneBlock, ContentRegistrar, CurrencyLoader, CustomContent, DistanceCondition, DyeableCloudyArmorItem, DyedAmethystBlock, DyedAmethystClusterBlock, DyedAmethystShardItem, DyedBuddingAmethystBlock, DyeMap, LogSlabBlock, MirrorItem, MoonPhaseCondition, PlaceholderItem, PlaceholderMimicItem, PlaceholderMimicItem.Group, RandomEffectItem, RandomizerBlock, RegisteredMap, RepeatAction, SmoothStoneStairsBlock, SprayBottleItem, SprayPotionItem, UnobstructedBlockInRadiusCondition
Enclosing interface:
Registered

public static interface Registered.Common extends Registered
Represents a type that should be registered on both the client and server environments.

Note that this is distinctly different from Registered.Client and Registered.Server.

Since:
1.5.0
See Also:
  • Method Details

    • registerCommon

      void registerCommon()
      Registers this value on both the client and server environments.

      The contained code will run for both environments. If you only want one or the other, see its sister interfaces.

      Since:
      2.0.0
      See Also: