AbstractNovaBlockBuilder
Inheritors
Functions
Link copied to clipboard
Sets the behaviors of this block to behaviors.
Link copied to clipboard
fun entityBacked(stateSelector: BlockStateSelector = DEFAULT_BLOCK_STATE_SELECTOR, modelSelector: BlockModelSelector = DEFAULT_BLOCK_MODEL_SELECTOR)
Configures the model and hitbox type of this entity-based block model via stateSelector and modelSelector respectively.
Link copied to clipboard
fun entityItemBacked(stateSelector: BlockStateSelector = DEFAULT_BLOCK_STATE_SELECTOR, itemSelector: ItemDefinitionConfigurator = DEFAULT_CONFIGURE_BLOCK_MODEL_SELECTOR)
Configures the model and hitbox type of this entity-based block model via stateSelector and itemSelector respectively.
Link copied to clipboard
Sets the localization key of the block.
Link copied to clipboard
Configures this block to not use any custom models, but instead use the given stateSelector.
Link copied to clipboard
fun stateBacked(category: BackingStateCategory, vararg categories: BackingStateCategory, modelSelector: BlockModelSelector = DEFAULT_BLOCK_MODEL_SELECTOR)
fun stateBacked(priority: Int, category: BackingStateCategory, vararg categories: BackingStateCategory, modelSelector: BlockModelSelector = DEFAULT_BLOCK_MODEL_SELECTOR)
Configures the backing state types of this block model via the given (category, categories), then selects the corresponding block models via the given modelSelector.
Link copied to clipboard
Adds the stateProperties to the properties of this block.