Home
Forums
New posts
Search forums
What's new
New posts
Latest activity
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
All Topics
Social
Hideflags 1.21?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Aceplante" data-source="post: 739938"><p>How would I hideflags on an item dropped by loot table in minecraft 1.21? This seems to be done with a new component called "show_in_tooltip", but the generator I have been using (misode), does not have a place for this (though it could just be the generator).</p><p></p><p>In game I would do this:</p><p></p><p>[CODE]give @p golden_sword[enchantments={levels:{"minecraft:sharpness":7},show_in_tooltip:false},enchantment_glint_override=true]</p><p>[/CODE]</p><p></p><p>but I cant seem to find where to add this in the following loot table:</p><p></p><p>[CODE]{</p><p> "function": "minecraft:set_enchantments",</p><p> "enchantments": {</p><p> "minecraft:sharpness": 7</p><p> }</p><p>},</p><p>{</p><p> "function": "minecraft:set_components",</p><p> "components": {</p><p> "minecraft:enchantment_glint_override": true</p><p> }</p><p>}</p><p>[/CODE]</p><p></p><p>Furthermore, "enchantment glint override" here does not seem to work? Edit: it hides it when FALSE for some reason? But still does not work in the loot table as I initially mentioned.</p></blockquote><p></p>
[QUOTE="Aceplante, post: 739938"] How would I hideflags on an item dropped by loot table in minecraft 1.21? This seems to be done with a new component called "show_in_tooltip", but the generator I have been using (misode), does not have a place for this (though it could just be the generator). In game I would do this: [CODE]give @p golden_sword[enchantments={levels:{"minecraft:sharpness":7},show_in_tooltip:false},enchantment_glint_override=true] [/CODE] but I cant seem to find where to add this in the following loot table: [CODE]{ "function": "minecraft:set_enchantments", "enchantments": { "minecraft:sharpness": 7 } }, { "function": "minecraft:set_components", "components": { "minecraft:enchantment_glint_override": true } } [/CODE] Furthermore, "enchantment glint override" here does not seem to work? Edit: it hides it when FALSE for some reason? But still does not work in the loot table as I initially mentioned. [/QUOTE]
Name
Verification
Post reply
Home
Forums
All Topics
Social
Hideflags 1.21?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top