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
  • #1544

Closed
Open
Created Mar 15, 2024 by Dragon@DragonEye

Targeters are unable to detect display entities

Summary

  • Greetings, I am trying to make a dungeon/gamemode where players have to run around and collect "shiny things" around the map.
  • These "shiny things" are display entities (specifically ITEM_DISPLAY)
  • There is a handler mob that targets all "shiny things" at the start of the game and increments a variable by 1 for every "shiny thing" on the map to display how many there are in total to find.
  • This worked when I used armor stands, as I could target them using a filter, however after transitioning to display entities, there seems to be no filter for those in the targeters list.
  • I would like to request the addition of display entities as a target filter. Thank you for your time!

Skills Used (Targeter fails to detect)

  - setvariable{var=world.shiniesCollectedMax;type=INTEGER;value=0} @self ~onSpawn
  - variableadd{var=world.shiniesCollectedMax;amount=1} @MobsInRadius{r=1024;types=Shiny} ~onSpawn

Example Display Entity

Shiny:
  Type: ITEM_DISPLAY
  Display: '&eShiny'
  DisplayOptions:
    Item: RAW_GOLD
    ViewRange: 64
    Scale: 0.75,0.75,0.75
    Translation: 0,1,0
  Options:
    Despawn: chunk
  Skills:
  - effect:glow{color=DARK_PURPLE;duration=40;audience=world} @self ~onTimer:20
  - setrotation{relative=true;yaw=3} @self ~onTimer:1
Edited Mar 15, 2024 by Dragon
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking