Breakable
Creates a factory for Breakable behaviors using the given values, if not specified otherwise in the block's config.
Parameters
The hardness of the block. Used when hardness
is not specified in the config, or null
to require the presence of a config entry.
The ToolCategories required to break the block. Used when tool_categories
is not specified in the config.
The ToolTier required to break the block. Can be null to not require a specific tool tier. Used when tool_tier
is not specified in the config.
Whether the block requires a tool to drop its item. Used when requires_tool_for_drops
is not specified in the config, or null
to require the presence of a config entry.
The type break particles to spawn in case the block is backed by barriers. Can be null. Used when break_particles
is not specified in the config.
Whether the break animation should be shown. Used when show_break_animation
is not specified in the config.