Started by
mikeyplease
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to make A Weeping Angel/SCP-173 type entity but I can't seem to get him to stop moving. I know it is possible and I have seen others ask this question but i am still unable to figure it out, any tips?
Edited by mikeyplease on Sat, 03/19/2022 - 19:47
yeah sure mate i'll help. so to start of make a new procedure by pressing the green + near the top left corner then pressing "P" on the keyboard.
where it says No additional trigger on the green starting block click it and scroll until you find "On player tick update".
once it is on player tick update go to "Entity management" and look for a block saying "Execute command / "clear" in the name of Entity target" once found put it under the green starting block.
copy paste the following command into where it says "clear"
execute as @p at @s anchored eyes facing entity @e[distance=..25,type=YourModID:YourEntityID] eyes anchored feet positioned ^ ^ ^1 rotated as @s positioned ^ ^ ^-1 if entity @s[distance=..0.35] run effect give @e[type=YourModID:YourEntityID] minecraft:slowness 1 255 true
Where the command says YourModID replace it with what your mcreators mod ID is.
To see your mod ID press "CRTL+ALT+P" and it should in be the first line
Where the command says YourEntityID replace it with what your Entitys ID is.
To see your entity ID right click the entity in the workspace then click "Edit mod element IDs" then its right there.
I hope this helps if it doesnt then i'll come back and help another time.
Hey BigButtBitches42, could you explain what each one of those values mean?
i'm want to make the "look area" larger
Hey Artico, I don't know if you've fixed the issue on your own or not, but i'll just write it down incase anyone else comes here and wants to know the answer.
You need to change the value here ---> if entity @s[distance=..0.35]
For example i wrote @s[distance=..1.00] and then the entity only moves outside of my point of view.