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

Started by Rattiwrapper on

Topic category: Help with MCreator software

Active 2 months ago
Joined Dec 2020
Points:
703

User statistics:

  • Modifications: 2
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 142
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.

Active 2 months ago
Joined Dec 2020
Points:
703

User statistics:

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

Can a moderator move this to help with mods?

Active 6 days ago
Joined Dec 2020
Points:
700

User statistics:

  • Modifications: 5
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 92
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.

Active 2 months ago
Joined Dec 2020
Points:
703

User statistics:

  • Modifications: 2
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 142
Yeah ok.
Tue, 02/23/2021 - 18:38

Yeah ok.

Active 2 months ago
Joined Dec 2020
Points:
703

User statistics:

  • Modifications: 2
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 142
thx
Tue, 02/23/2021 - 18:38

thx

Active 6 days ago
Joined Dec 2020
Points:
700

User statistics:

  • Modifications: 5
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 92
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. 
 

 

Active 2 years ago
Joined Feb 2021
Points:
581

User statistics:

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

This is helpful, thanks.