A block that falls and does damage

Started by pedro1903 on

Topic category: Help with MCreator software

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A block that falls and does damage

I want to make my block do damage when fall into the head of a player

Like a anvil

I already made it a gravity block i just need it to do damage

If anyone helps i would appreciate

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you write a procedure in…
Fri, 07/01/2022 - 23:53

If you write a procedure in the "When entity collides in the block" trigger. And then put down this procedure:

[Deal [any number] damage to [Event/target entity] type: [ANVIL]]

Also you dont have to use ANVIL you could use any other death message you like.

In the any number section you put how much damage you want it to do (1 damage = half a heart)

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also I dont know if the…
Fri, 07/01/2022 - 23:54

Also I dont know if the trigger also counts walking into the block as colliding in it.