Grass Kills Player

Started by IronmanGaming on

Topic category: Help with MCreator software

Last seen on 15:53, 14. Feb 2022
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Grass Kills Player

Hello everyone,

I'm making a mod that standing on a block of grass will kill you instantly.
The problem is I die on every block I stand.
This is what I have:

Event trigger ''on player tick update''.
If is 'grass block' material type ''GRASS''.
Do deal ''10000'' damage to ''Event/target entity'' type: ''GENERIC''.

How can I fix it?

Last seen on 17:20, 17. Mar 2024
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Your basically checking if…
Fri, 10/01/2021 - 11:22

Your basically checking if Grass is made out of Grass. You need to check if the block under the Player is one. 

Last seen on 15:53, 14. Feb 2022
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And what is the procedure…
Fri, 10/01/2021 - 11:37

And what is the procedure for that one?

Last seen on 17:20, 17. Mar 2024
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's something like this: If…
Fri, 10/01/2021 - 13:28

It's something like this:

If : Get Block at X: [x] Y: [y - 1] Z: [z] = Grass Block, then:

Deal Damage

 

Last seen on 15:53, 14. Feb 2022
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes it works, thank you so…
Fri, 10/01/2021 - 22:14

Yes it works, thank you so much!