Companion

Functions

Link copied to clipboard
fun fromBlockData(nb: NoteBlock): MacrocosmBlock?

Converts a masked vanilla note block to a macrocosm block if possible, returns null otherwise

Properties

Link copied to clipboard
const val HARDNESS_DEEPSLATE: Int = 600

Hardness of a vanilla deepslate block

Link copied to clipboard
const val HARDNESS_MIN: Int = 50

Minimal hardness recommended for blocks

Link copied to clipboard
const val HARDNESS_STONE: Int = 300

Hardness of a vanilla stone block

Link copied to clipboard
const val HARDNESS_WOOD: Int = 250

Hardness of most types of wood

Link copied to clipboard
const val STEADINESS_DEEPSLATE: Int = 3

Steadiness of a vanilla deepslate block

Link copied to clipboard
const val STEADINESS_MIN: Int = 0

Minimal steadiness for blocks. Steadiness does not support values below zero, that's why this is 0

Link copied to clipboard
const val STEADINESS_STONE: Int = 1

Steadiness of a vanilla stone block

Link copied to clipboard
const val STEADINESS_WOOD: Int

Steadiness of most vanilla types of wood