Started by WitPantix on Tue, 07/16/2024 - 14:10 Topic category: Help with Minecraft modding (Java Edition) How can I create this skill? Any mobs that approach receive a light poison effect Jump to top if armor in armor slot 0-3 (0 for boots and 3 for helmet) is the armor you want then for each entity as entity iterator in square cube of however big you want the range to be if they(entity iterator) aren't the event entity then add poison to them (0 is the first level l, and 1 is the second ll and so on) it could be better I think but it gets the job done Jump to top Permalink Log in or register to post comments Copying this will result in: checking for all armor on if armor is on it checks for "entity iterator" in a 4 block area inside this it makes sure that the iterator isnt the player and the iterator doesnt already have poison now it gives the iterator poison Jump to top Permalink Log in or register to post comments Thanks Jump to top Permalink Log in or register to post comments
if armor in armor slot 0-3 (0 for boots and 3 for helmet) is the armor you want then for each entity as entity iterator in square cube of however big you want the range to be if they(entity iterator) aren't the event entity then add poison to them (0 is the first level l, and 1 is the second ll and so on) it could be better I think but it gets the job done Jump to top Permalink Log in or register to post comments
Copying this will result in: checking for all armor on if armor is on it checks for "entity iterator" in a 4 block area inside this it makes sure that the iterator isnt the player and the iterator doesnt already have poison now it gives the iterator poison Jump to top Permalink Log in or register to post comments
if armor in armor slot 0-3 (0 for boots and 3 for helmet) is the armor you want then
for each entity as entity iterator in square cube of however big you want the range to be
if they(entity iterator) aren't the event entity then
add poison to them (0 is the first level l, and 1 is the second ll and so on)
it could be better I think but it gets the job done
Copying this will result in:
checking for all armor on
if armor is on it checks for "entity iterator" in a 4 block area
inside this it makes sure that the iterator isnt the player and the iterator doesnt already have poison
now it gives the iterator poison
Thanks