Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eggolib v1.9.1 Breaks Tags added through NBT #48

Closed
Lilwhiteshark opened this issue Feb 10, 2024 · 2 comments
Closed

Eggolib v1.9.1 Breaks Tags added through NBT #48

Lilwhiteshark opened this issue Feb 10, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Lilwhiteshark
Copy link

Eggolib v1.9.1
Fabric 0.15.6
Minecraft 1.20.1

Description:
Adding a tag through NBT, such as with a summon command, does not tag the entity.

More Details:
Tags given to an already existing entity seem to work; for example:

  1. /summon armor_stand
  2. /tag @e[type=armor_stand,limit=1] add exampletag
  3. /execute as @e[type=armor_stand,tag=exampletag] run say Success!
  4. The Armor Stand tagged exampletag will say Success!

Tags given in NBT when summoning an entity DO NOT work, and appear to not tag the entity at all; for example:

  1. /summon armor_stand ~ ~ ~ {Tags:["exampletag"]}
  2. /execute as @e[type=armor_stand,tag=exampletag] run say Success!
  3. No output
  4. /kill @e[type=armor_stand,tag=exampletag]
  5. Output: No entity was found

Tags worked as expected when reverting to Eggolib v1.9.0.

@eggohito eggohito self-assigned this Feb 11, 2024
@eggohito eggohito added the bug Something isn't working label Feb 11, 2024
@eggohito
Copy link
Owner

Good catch! I'll release a fix later for 1.20.2, then do a backport

@eggohito
Copy link
Owner

This should now be fixed in eggolib v1.10.2 (1.20 - 1.20.1) and eggolib v1.10.2 (1.20.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants