NovaTileEntityBlockBuilder
A builder for NovaTileEntityBlock.
Functions
Adds to the behaviors of this block to behaviors.
Makes this block breakable. Higher hardness values increase the time required to break it, while requiresToolForDrops determines whether an appropriate tool is needed for drops.
Configures the model, hitboxes and colliders of this entity-based block model via modelSelector, stateSelector, extraColliderSelector and extraHitboxSelector.
Configures the model and hitboxes and colliders of this entity-based block model via itemSelector, stateSelector, extraColliderSelector and extraHitboxSelector.
Configures this block's resistance to explosions. Higher values make the block harder to destroy.
Configures how fluids flow into and out of each block state.
Configures how fluids flow into and out of all states of this block.
Sets the item type of this block. Used in, for example, block drops via BlockDrops.
Configures the emitted light level for each block state. Selected values must be between 0 and 15.
Configures the light level emitted by all states of this block. Must be between 0 and 15.
Sets the localization key.
Configures this block to not use any custom models, but instead use the given stateSelector.
Configures the instrument used by nearby note blocks. Normal instruments require this block to be below the note block, while mob-head instruments require this block to be above the note block. Defaults to NoteBlockInstrument.HARP.
Configures how pistons interact with this block. Defaults to PistonMoveReaction.MOVE. Tile Entities can never be moved.
Configures the sounds made by each block state. Defaults to SoundGroup.EMPTY.
Configures the sounds made by all states of this block. Defaults to SoundGroup.EMPTY.
Configures the backing state types of this block model via the given (category, categories), then selects the corresponding block models via the given modelSelector.
Adds the stateProperties to the properties of this block.
Adds the entry of the element being build to the given tags.
Configures the amount of times TileEntity.handleTick is called per second. Accepts values from 0 to 20, with 0 disabling ticking.