NovaBlock
Represents a custom Nova block type.
Inheritors
Properties
A list of all BlockBehaviors of this NovaBlock.
A list of all possible NovaBLockStates of this NovaBlock
The default block state of this NovaBlock.
Functions
Chooses the appropriate NovaBlockState for placement given the ctx.
Gets the first BlockBehavior that is an instance of T, or throws an IllegalStateException if there is none.
Gets the first BlockBehavior that is an instance of type, or throws an IllegalStateException if there is none.
Gets the first BlockBehavior that is an instance of T, or null if there is none.
Gets the first BlockBehavior that is an instance of type or a subclass, or null if there is none.
Checks whether this NovaBlock has a BlockBehavior of the reified type T, or a subclass of it.
Checks whether this NovaBlock has a BlockBehavior of the specified class type, or a subclass of it.
Called when a block at neighborPos changed to update the NovaBlockState of this state at pos.