make player look at a mob

Started by Bobking2010 on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 hours ago
Joined Jan 2022
Points:
565

User statistics:

  • Modifications: 7
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 26
make player look at a mob

Im trying to make ranged item, which spawns an entity once the projectile lands, to which the player gets pulled. But I want the player to be forced to look at that ceratin mob. Ive tryed many command creations before but nothing works correctly. I hope someone can help :(

Active 10 months ago
Joined Apr 2023
Points:
203

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 19
Which version R U using? if…
Fri, 11/17/2023 - 19:10

Which version R U using?

if it's 2023.3, I'll show how U can. But I didn't understand what do U want to do.

Active 3 hours ago
Joined Jan 2022
Points:
565

User statistics:

  • Modifications: 7
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 26
Im using 2023.2  
Fri, 11/17/2023 - 19:47

Im using 2023.2

 

Active 3 hours ago
Joined Jan 2022
Points:
565

User statistics:

  • Modifications: 7
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 26
Im trying to make a…
Fri, 11/17/2023 - 19:48

Im trying to make a procedure to make the PLAYER look at a specific mob

 

Active 3 hours ago
Joined Jan 2022
Points:
565

User statistics:

  • Modifications: 7
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 26
The part with the ranged…
Fri, 11/17/2023 - 19:49

The part with the ranged item is already done :)

Active 10 months ago
Joined Apr 2023
Points:
203

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 19
ok, I'm trying  
Sun, 11/19/2023 - 07:54

ok, I'm trying

 

Active 10 months ago
Joined Apr 2023
Points:
203

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 19
which mob that you want to…
Sun, 11/19/2023 - 07:55

which mob that you want to look

Active 3 hours ago
Joined Jan 2022
Points:
565

User statistics:

  • Modifications: 7
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 26
A costem one, but this…
Sun, 11/19/2023 - 14:47

A costem one, but this should work with any mob though. If youre able to do it just use an creeper as an example for me