Started by
Patricio1104
on
Topic category: Help with MCreator software
I'm trying to make an armor that if you get struck with lightning while wearing it you get effects but i can't find any procedures block for that
I found that on the Event trigger - triggered by external call you can select "Entity struck by lighting" but that's basically it
If you know any procedure blocks for that please help
Edited by Patricio1104 on Fri, 04/30/2021 - 17:18
is possible, create a procedure that is not linked to anything, in the global trigger select "Entity struck by lightning".
https://imgur.com/a/c50vK6g
now use "if" and use the procedure "is event entity (sub)type of "
and select PlayerMP
Now add the procedure "get item from armor slot " and compare it as shown in the picture
0 = boots
1 = leggins
2 = chestplate
3 = helmet
https://imgur.com/a/ncp3qnA
now join all the conditions with "and".
it's in the "logic" tab is the blue option where the "=" sign is shown
you can change that equal to "and".
https://imgur.com/a/EIOmWPk
Now that you set all the conditions, put what you want to perform
for example a potion effect
Wow, thank you so much, sorry for not seeing it earlier.