Skip to content
KyousukeSenpai edited this page Jul 9, 2018 · 10 revisions

Magnet Spell

Instant spell. A spell that pulls nearby items to you.

Configuration Options:

Option Description Default Value
range Radius of the magnet spell. 5
velocity The velocity the items are being pulled at 1
teleport-items Whether to teleport the items to you or not(ignores velocity). false
force-pickup Whether to force the pickup of the items or not. false
remove-item-gravity Whether to remove gravity from items or not. false

Example:

magnet:
  spell-class: ".instant.MagnetSpell"
  name: magnet
  cooldown: 2
  cast-item: stick
  cost:
    - mana 20
    - coal 1
  str-cost: "20 mana, 1 coal"
  range: 5
  velocity: 1
  teleport-items: false
  force-pickup: false
  remove-item-gravity: false

Clone this wiki locally