Package dev.jaxydog.astral.content.block
Interface Custom
- All Superinterfaces:
BlockConvertible,Registered,Registered.Common
- All Known Implementing Classes:
AstralBlock,AstralSlabBlock,AstralStairsBlock,AstralWallBlock,CobbledSandstoneBlock,DyedAmethystBlock,DyedAmethystClusterBlock,DyedBuddingAmethystBlock,LogSlabBlock,RandomizerBlock,SmoothStoneStairsBlock
Implements common functionality for all block extensions.
When creating a new block extension, this interface should be implemented.
This type is automatically registered.
- Since:
- 2.0.0
-
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 TypeMethodDescriptiondefault voidRegisters this value on both the client and server environments.Methods inherited from interface dev.jaxydog.astral.content.block.BlockConvertible
asBlockMethods inherited from interface dev.jaxydog.astral.register.Registered
getRegistryId, getRegistryPath
-
Method Details
-
registerCommon
default void registerCommon()Description copied from interface:Registered.CommonRegisters 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.
- Specified by:
registerCommonin interfaceRegistered.Common- See Also:
-