Skip to main content

Magnet Action

Sucks nearby items towards the player when mining

Fields

FieldTypeDefaultDescription
radiusDouble6.0Radius in blocks to suck items from
Common TypeWriter fields (criteria, modifiers, triggers)
FieldTypeDefaultDescription
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—

When to use it​

Put this entry in the actions of a mechanic of a Custom Enchantment Definition whose event is BLOCK_BREAK. It reads the block-break event.