Skip to main content

Module block_transformer

Module block_transformer 

Source
Expand description

minecraft:block_transformer registry entries.

Vanilla moved this from an inline per-item component to a proper dynamic registry (Registries.BLOCK_TRANSFORMER) referenced by items via Holder<BlockTransformer>. Entries are built from datapack JSON at build time; the item component itself only stores a registry reference.

Structs§

BlockTransformData
BlockTransformer
Item block transforms, e.g. shovel flattening dirt into a path.
BlockTransformerComponent
Item component wrapper: a Holder<BlockTransformer> reference, wire- and NBT-encoded like other registry holders (e.g. [crate::damage_type::DamageTypeComponent]).
BlockTransformerRegistry

Enums§

DropStrategy
TransformParticle
TransformType

Type Aliases§

BlockTransformerRef