How do I make blocks deal constant damage when being touched?

Started by BURGERTURTLE on

Topic category: Help with modding (Java Edition)

Last seen on 00:55, 11. Mar 2020
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make blocks deal constant damage when being touched?

I have plans on making a block that deals 1 damage for every second you are in contact with it, similar to how magma blocks deal half a heart of damage while being stepped on. I'm not good at using procedures, so a step-by-step tutorial would be much appreciated. Thanks!

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
literally one procedure…
Wed, 03/11/2020 - 06:22

literally one procedure block: Deal damage to entity

Last seen on 02:17, 2. Nov 2022
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
   Is there a way to make a…
Sat, 03/14/2020 - 22:54

   Is there a way to make a block deal potion affects? Currently what I've tried has just shown the icon for the effect, but doesn't actually make it happen. 

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
add potion effect procedure…
Sun, 03/15/2020 - 05:15

add potion effect procedure block or commands

Last seen on 17:27, 15. Apr 2024
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When entity collides in the…
Fri, 03/27/2020 - 23:44

When entity collides in the block

or 

walk on the block

deal (amount) of damage to provided entity type (generic)

try that

Last seen on 18:10, 25. Jan 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hey guys! how do I make a…
Sun, 02/14/2021 - 00:48

hey guys! how do I make a block that reduces damage ??????