Package dev.jaxydog.astral.register
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
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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.jaxydog.astral.register.Registered
Registered.All, Registered.Client, Registered.Common, Registered.Generated, Registered.Server -
Method Summary
Modifier and TypeMethodDescriptionvoidRegisters this value on both the client and server environments.Methods inherited from interface dev.jaxydog.astral.register.Registered
getRegistryId, getRegistryPath
-
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:
-