How do i can make a block move to a entity (or entity sucking block) like Wither Storm mod???

Started by MonstarNDM on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i can make a block move to a entity (or entity sucking block) like Wither Storm mod???

How do i can make a block move to a entity like a vacuum or sth like that plz smo help meee im suck at coding-

And yea it's just like the Wither storm mod where it absorb block or a piece of land and destroy everything

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
to small way to small  
Sun, 07/14/2024 - 17:07

to small way to small

 

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
say the witherstorm beam has…
Thu, 08/01/2024 - 19:01

say the witherstorm beam has a hitbox. So when the witherstorn beams hitbox is touching (blank) block depawn the block then make an entity with no ai that is a model of that block.

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Go to trigger add new…
Tue, 10/29/2024 - 10:02

Go to trigger add new trigger. and go too when entity is not null. and. go block set block to entity. that block can make wither storm grab

 

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I managed to accomplish the…
Sat, 11/15/2025 - 15:46

I managed to accomplish the block sucking entity part with block displays and the /tp command. In the upcoming remaster of my old Pibby mod, I did this with the corrupted Wither Storm. Here's how the command goes:

execute at @e[type=minecraft:block_display] run tp @n[type=minecraft:block_display,limit=1] ^0.4 ^ ^0.3 facing entity @n[type=newpibbymod:wither_storm_phase_0]. This works in-game. For the blocks vanishing, it uses /kill to "kill" them when they touch the Wither Storm, thus causing them to despawn. The command above is in the Wither Storm's "on entity tick update" procedure, so put it there or else it won't work.