Started by
IronmanGaming
on
Topic category: Help with MCreator software
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?
Your basically checking if Grass is made out of Grass. You need to check if the block under the Player is one.
And what is the procedure for that one?
It's something like this:
If : Get Block at X: [x] Y: [y - 1] Z: [z] = Grass Block, then:
Deal Damage
Yes it works, thank you so much!