• check_circle Functions
  • 3,809 views, 1 today
  • 326 downloads, 0 today
  • 9
  • 10
  • 7
Dogeon188's Avatar Dogeon188
Level 48 : Master Pig
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)

How to Use

Use the command /function itemname:_config to open the settings. It should show this message:

Item Name Indicator Minecraft Data Pack

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.
CompatibilityMinecraft 1.16
toMinecraft 1.17
Tags

Create an account or sign in to comment.

2
08/23/2020 6:11 am
Level 1 : New Miner
KaChini
KaChini's Avatar
modify? That position is not loaded except teleport to that point
2
08/24/2020 8:38 am
Level 48 : Master Pig
Dogeon188
Dogeon188's Avatar
um dont it work? like i added a forceload command to prevent so
if it’s broken please attach some more detailed report, thx!
2
08/25/2020 5:52 am
Level 1 : New Miner
KaChini
KaChini's Avatar
me Do tried this command and was unable to Enchant ShowName.

execute if data entity @s Item.tag{StoredEnchantments:""}
2
08/24/2020 10:00 pm
Level 1 : New Miner
KaChini
KaChini's Avatar
Tag:StoredEnchantments Show name?
2
08/24/2020 2:06 pmhistory
Level 1 : New Miner
KaChini
KaChini's Avatar
Make an enchantment to continue showing the name.

example
Enchantment Aqua Affinity If not, it's fine and thank you.
1
08/26/2020 5:56 am
Level 48 : Master Pig
Dogeon188
Dogeon188's Avatar
hey wait it’s not quite convenient to talk here since the chat section will soon be filled up
why not contact with discord owo
you can find my discord id in my profile page i think
2
08/14/2020 11:37 am
Level 15 : Journeyman Miner
Totti_Trap
Totti_Trap's Avatar
Wow, Very Nice! Take a diamond!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome