You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using tags in selectors when executing commands targeting Block Displays doesn't work with latest version of Eggolib.
Summon a block display with /summon minecraft:block_display ~ ~ ~ {Tags:["mytag"]}
Confirm the block display has a tag with /data get entity @e[type=minecraft:block_display,limit=1]
Select the block display with commands /kill @e[type=minecraft:block_display,tag=mytag]
The /kill command will fail, not finding a valid entity.
I've tested on a fresh instance with no other mods (other than Origins) and can confirm this occurs only with Eggolib installed. Version v1.9.0 of Eggolib and unmodded Minecraft work as intended.
I haven't tested all entities, but this doesn't happen with passive mobs (pig, chicken). I found this while updating my Origin that relies on commands and Block Displays.
The text was updated successfully, but these errors were encountered:
Sterrezo
changed the title
Eggolib causes Minecraft commands to not work properly with entity tags
Eggolib makes Minecraft commands unable to select Block Displays with entity tags
Jun 15, 2024
I completely missed #48 before posting...
It's definitely related, but Block Displays slipped through the fix.
I also tested Item Displays and Text Displays, selecting them using tags is also broken with Eggolib.
Sterrezo
changed the title
Eggolib makes Minecraft commands unable to select Block Displays with entity tags
Eggolib makes Minecraft commands unable to select display entities with entity tags
Jun 15, 2024
It seems like this issue is not at all dependent on the entity's type, but more so on how and when the commands are executed (apace100/origins-fabric#757 (comment) for an explanation.) I'll fix this (again) soon-ish 👍
Using tags in selectors when executing commands targeting Block Displays doesn't work with latest version of Eggolib.
/summon minecraft:block_display ~ ~ ~ {Tags:["mytag"]}
/data get entity @e[type=minecraft:block_display,limit=1]
/kill @e[type=minecraft:block_display,tag=mytag]
I've tested on a fresh instance with no other mods (other than Origins) and can confirm this occurs only with Eggolib installed. Version v1.9.0 of Eggolib and unmodded Minecraft work as intended.
I haven't tested all entities, but this doesn't happen with passive mobs (pig, chicken). I found this while updating my Origin that relies on commands and Block Displays.
The text was updated successfully, but these errors were encountered: