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

More info for entity tooltip #58

Open
catgirldoll opened this issue Jul 30, 2021 · 5 comments
Open

More info for entity tooltip #58

catgirldoll opened this issue Jul 30, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@catgirldoll
Copy link

catgirldoll commented Jul 30, 2021

Showing relevant entity nbt data in the tooltip could be very useful. For example:
Owner (for tamed animals), active potion effects, armor bar, movement speed and jump height values, breeding status (actively breeding/on cooldown/ready), what the mob is aggro'd against (all players, specific playername or mob type, none), markings name (cats, horses, parrots, axolotls, tropical fish etc), pollen (bees, yes/no), stung (bees, yes/no), hive pos (bees again 🙂) and more!

Vanilla style sprites for many tags would be nice to avoid the bar growing too overwhelming. For example, a forward arrow for horse movement speed, and an upward arrow for its jump height.

Ideally each data tag could be configured such that one could choose what states would be shown (i.e. only showing when an animal is breeding or on cooldown, but omitting the tag when it's ready to breed)
Also, making these tags possible to override by a server owner to prevent what they may see as cheating could be an important addition.

This would all be intended to fit under the entity's name and health values, similar to certain block NBT data currently shown:
image

@catgirldoll catgirldoll added the enhancement New feature or request label Jul 30, 2021
@catgirldoll catgirldoll changed the title Show more entity NBT data in tooltip More info for entity tooltip Jul 30, 2021
@deirn
Copy link
Member

deirn commented Jul 30, 2021

Honestly, I feel like this is a feature for a plugin. My current view for built-ins is that they only contain client-only components. We'll see if I changed my mind.

@catgirldoll
Copy link
Author

catgirldoll commented Jul 30, 2021

This could exist as an addon for WTHIT similar to megane, so that WTHIT itself would not require serverside components. Alternatively, certain features could just not function without player access to the /data command.

Of course, you could also avoid restricting such features at all, as several other mods have done.

@catgirldoll
Copy link
Author

catgirldoll commented Aug 17, 2021

This is type of feature may be better suited to QML's config API when that officially launches, as it would no longer require a server-side component to force-disable more subjective features.

@deirn deirn removed the limbo label Feb 5, 2022
@GodGun968
Copy link
Contributor

erm... good idea, especially the potion effect

@GodGun968
Copy link
Contributor

Oh well megane has completed a lot and it looks great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants