How do I make a certain item move towards a custom block

Started by Rattiwrapper on

Topic category: Help with MCreator software

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a certain item move towards a custom block

I want to make a mod with a block called Cobalt Paste, a block that attracts Iron, for example, if an Iron Ingot was dropped on the ground, it would slowly move towards the block, also, if it's possible, the Iron Ingot would get slightly faster as it gets closer, although it's not needed.

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can a moderator move this to…
Sun, 01/31/2021 - 13:18

Can a moderator move this to help with mods?

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have a mathematical…
Sun, 02/21/2021 - 09:34

I have a mathematical equation if you still want this, although I am a little late so I apologize.

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is the equation. For…
Wed, 02/24/2021 - 16:55

Heres the equation

This is the equation. For your idea, make the x y z the coordinates of the block while the entity iterator should be the item. Also, have the velocity y not be times -1 at the end. 
 

 

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is helpful, thanks.
Tue, 06/21/2022 - 17:37

This is helpful, thanks.