Falling Block Deals Damage?

Started by MamaLuigi on

Topic category: Help with modding (Java Edition)

Last seen on 17:58, 19. Apr 2024
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Falling Block Deals Damage?
Fri, 02/16/2024 - 18:20 (edited)

I want to make a block that basically acts like an anvil, as in it has gravity and it deals damage upon landing on an entitiy

 

One different thing i want to do is make it always deal 20 points, (or 10 hearts), of damage.

 

I got the falling part working, but how would i deal the damage?

 

Is it even possible, and if so how would i do it?

 

Any help would be greatly appreciated!

Edited by MamaLuigi on Fri, 02/16/2024 - 18:20