A block that falls and does damage

Started by pedro1903 on Tue, 06/14/2022 - 18:22

Topic category: Help with MCreator software

Last seen on 02:52, 12. Aug 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
A block that falls and does damage
Tue, 06/14/2022 - 18:22

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

Last seen on 01:05, 8. Aug 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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)

Last seen on 01:05, 8. Aug 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.