Simple Macrocosm Block
constructor(id: String, name: String, itemRarity: Rarity, hardness: Number, steadiness: Int, baseExperience: Pair<Number, SkillType>, suitableTools: List<ItemType>, pool: LootPool, soundBank: BlockSoundBank, texture: String = id)(source)
Parameters
id
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
Name of the block item. Supports MiniMessage formatting
steadiness
The steadiness of this block. Breaking power required to break this block depends on this value. Values below 0
are not supported
base Experience
Base skill experience amount that is given after breaking this block
suitable Tools
Tools, suitable for breaking this block.
pool
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
sound Bank
The sound bank containing events for this block, e.g. when it is broken/placed.
texture
Unparsed ID pointing to the texture of this block. By default, it is equal to id