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

Started by BURGERTURTLE on Wed, 03/11/2020 - 00:55

Topic category: Help with modding (Java Edition)

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make blocks deal constant damage when being touched?
Wed, 03/11/2020 - 00:55

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 01:31, 30. Nov 2020
Joined Jun 2019
User points:

User statistics:

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

literally one procedure block: Deal damage to entity

Last seen on 02:32, 1. Dec 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 01:31, 30. Nov 2020
Joined Jun 2019
User points:

User statistics:

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

add potion effect procedure block or commands

Last seen on 06:50, 3. Dec 2020
Joined Mar 2019
User points:

User statistics:

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