Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1883

Closed
Open
Created Apr 03, 2025 by Oonezumikamisama@Oonezumikamisama

LookingAt condition with entity type pitching errors

Summary

The LookingAt condition appears to be broken and pitches errors.

Steps to reproduce

Include the following mob file and skill file and spawn a frienderman. If LookingAt is not intended to work with mythic mobs, change the type to a vanilla entity, such as ENDERMAN, for the same result. https://pastebin.com/CpYmVfE2 https://pastebin.com/cbE98EJA

Current behavior

When using the LookingAt condition, java exception errors are printed to the debug console. When type is set to an entity, the condition seems to always evaluate as false. When type is a block it can return true, but the error messages are still printed.

Intended correct behavior

The LookingAt condition should evaluate to true when the player is looking at the specified type, without errors. Ideally this would include mythic mobs types.

Server log file

https://pastebin.com/P5qwZbsP

Debug log snippet

https://pastebin.com/9ASTAy35

Proposed fixes

This may be some kind of threading problem, which is not my area of expertise.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking