Simple Macrocosm Block
A wrapper over a MacrocosmBlock that allows to generate and register a PlaceableItem, as well as a model both for the block and the item using the HybridBlockModelGenerator.
This is an open class, so you may override it for further extending
Parameters
Unparsed ID of the block and item. It will further be parsed using Identifier.parse, so make sure to include your own namespace if needed!
Name of the block item. Supports MiniMessage formatting
The steadiness of this block. Breaking power required to break this block depends on this value. Values below 0
are not supported
Base skill experience amount that is given after breaking this block
Tools, suitable for breaking this block.
The static loot pool which will be used to determine the items to drop from this block. To generate a dynamic loot pool, override the pool method
The sound bank containing events for this block, e.g. when it is broken/placed.
Unparsed ID pointing to the texture of this block. By default, it is equal to id
Constructors
Functions
Properties
Base skill experience amount that is given after breaking this block
The identifier of this block.
The identifier pointing to resource pack location of the texture for this block. Defaults to $id.namespace:block/$id.path