Started by
thecatlover
on
Topic category: Help with Minecraft modding (Java Edition)
its mostly in the title but i wanted to know if anyone has an idea of what i can do for this.
if you want to help directly then i have a discord server you can join https://discord.gg/Fg96n3S
for more info i mean a mob that moves when not stared at
I'm not sure If that's possible. If you can code, than anything is possible, but there is no procedure block for "is event/target entity being looked at". You can test the angle and the direction of where the player is looking, so if you can get the direction (relative to the player) of where the mob is, than it is possible.., but I'm not a brainiac, so I can't help...
sorry :/
This actually is possible, though, I haven't tested it out. You have to do this;
- First, make a procedure that has a global trigger when the player has a tick update. You need to get the direction that the player is facing, and store it on a player lifetime variable.
- Next, you need a procedure for when the weeping angel mob has a tick update. You need to store the mobs facing direction as well. Then, you need to detect if the entity is in range of the entity "Player" (don't use playerMP.), and if it is in the range, and also is facing the OPPOSITE direction as the player, then the mob will get it's potion effects cleared. Then put an else statement and put in "Give Mob slowness 255" so the mob will be slowed if it is not in range and/or is being looked at by the player.
I can make you the workspace if you need to, just ask.
Holly cow dude, you know a solution to everything...
Is it alright you make me the workspace for the weeping angel? I am creating a modpack named Minecraft: Ultimate Edition and I want the entity to be in it. I will credit you titedog.
Is it lossposs for to take a picture it would help a lot my brain is not as big brain as yours
Can someone make a video step by step on it?