Bug Open

Targeters are unable to detect display entities

#4853 opened by Unknown 2 years ago

Unknownreported this bug

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
Unknowncommented

This also occurs for falling_block entities, targeters don't target them from the testing I've done.

Unknowncommented

@I0nTech can you verify if this bug is still present in moderns versions?

Unknowncommented

Not sure if it's a "Bug" now that I realize the @NLNO targeter exists, but regular targeters should be able to target mobs like Minecarts, primed TNT, Display Entities, falling block entities, etc.

ATM these mobs are still untargetable without @NLNO.

Unknowncommented

I was able to target the Shiny mobs from the original ticket by lowering the radius of the mobsinradius targeter.

I can target display entities just fine using the mobsinradius targeter (and presumably others). as long as the radius doesn't go above 128 (8 chunks).

As soon as I put it to 129 radius, it stops working.

Unknowncommented

So perhaps a separate bug report and investigation for target radii misbehaving past a check limit in some cases?

Sign in to join the discussion.