- check_circle Functions
Published Aug 14th, 2020, 8/14/20 5:07 am
- 3,809 views, 1 today
- 326 downloads, 0 today
10
A pack that lets items show their special name or something else.
(Oh the uploading system of PMC is currently down I think. For now I can only use google drive to host the file)
In this menu, press the green [Enable] text to turn on that setting, or click the red [Disable] text to turn it off.
The current state of that setting will be represented as bold text, eg. the image above tells that all the settings are disabled.
(oh btw turning off the settings won't affect existing item entities, cuz I don't want to spend more resources just to erase their name.)
Banner Pattern - Banner pattern items will display their pattern name and rarity by color.
Written Book - Written books will show their title.
Custom Item Name - Custom named items (which mean it has a display.Name field) will show their name.
Music Disc - Discs will display the title and their composer.
Potion / Lingering Potion / Splash Potion / Tipped Arrow - They will show their effect, effect level, and effect duration.
Player Head: Player heads will show the same text as you will see in your inventory. (eg. "Dogeon188's Head")
Spawn Egg: Spawn egg items will also show the same text as you will see in your inventory. (eg. "Enderman Spawn Egg")
Note that except for the settings menu itself, all the displayed names will be localized. If you want to change the menu itself, just change the function file itemname:config.
(Oh the uploading system of PMC is currently down I think. For now I can only use google drive to host the file)
How to Use
Use the command /function itemname:_config to open the settings. It should show this message:In this menu, press the green [Enable] text to turn on that setting, or click the red [Disable] text to turn it off.
The current state of that setting will be represented as bold text, eg. the image above tells that all the settings are disabled.
(oh btw turning off the settings won't affect existing item entities, cuz I don't want to spend more resources just to erase their name.)
Banner Pattern - Banner pattern items will display their pattern name and rarity by color.
Written Book - Written books will show their title.
Custom Item Name - Custom named items (which mean it has a display.Name field) will show their name.
Music Disc - Discs will display the title and their composer.
Potion / Lingering Potion / Splash Potion / Tipped Arrow - They will show their effect, effect level, and effect duration.
Player Head: Player heads will show the same text as you will see in your inventory. (eg. "Dogeon188's Head")
Spawn Egg: Spawn egg items will also show the same text as you will see in your inventory. (eg. "Enderman Spawn Egg")
Note that except for the settings menu itself, all the displayed names will be localized. If you want to change the menu itself, just change the function file itemname:config.
Something about the pack itself
Since there is something pretty much repeated, but I just can't do the recursive thing in minecraft, so I wrote some python scripts to automatically generate those function files. They are in an src folder in the zip file.Compatibility | Minecraft 1.16 |
to | Minecraft 1.17 |
Tags |
tools/tracking
4710057
119
item-name-indicator
Create an account or sign in to comment.
if it’s broken please attach some more detailed report, thx!
execute if data entity @s Item.tag{StoredEnchantments:""}
example
Enchantment Aqua Affinity If not, it's fine and thank you.
why not contact with discord owo
you can find my discord id in my profile page i think