Started by
Elxist23
on
Topic category: Help with modding (Java Edition)
Hello I am asking you for help with a creeper that I am developing except that I cannot detonate it (AI). Could you help me with the AI for when I approach the creeper it explodes and it rushes on me because I have to hit it for it to attack me.
This is kinda complicated but It should work. This is an example for an ordinary creeper.
Make a Procedure called "CreeperExplode"
On the green block that auto generates, you will see a bar on it. Press the bar and scroll down until you see "Entity Attacked" Now write the following.
If [Source Entity] = Of Type (Place Creeper Here)
Then: Despawn Source Entity
Explode with radius 3.
Hopefully this is helpful!
Its not worked