mojira.dev
MC-124787

entity selectors only select existing entities

when i try to use @e[type=item,limit=1] to select an item i summoned/dropped (eg. the diamond hoe shown) it instead selects an item that existed in the world (eg. mushroom popping off in a cave, rotten flesh dropped by a zombie). this applies to any entitys created or summoned by the player

Attachments

Comments 2

upon further inspection, it seems the issue is with the limit=1 parameter not starting to search from the players coordinates

@e defaults to sort=arbitrary, not sort=nearest; arbitrary is the order in which the game grabs the entity list.

theludgamr

(Unassigned)

Unconfirmed

Minecraft 18w05a

Retrieved