How can I make items in Minecraft immune to fire?

Gu
3

I'm writing a 'Lord of The Rings' FunctionPack right now.

Since I want to program that the ring gets the inscription, as soon as you throw it into the fire, it is important that it does not burn. Unfortunately, I do not know how to make items immune to fire.

I have the FireResistance ('/ effect @e [type = item] minecraft: fire_resistance 1 255') effect and 'FireTick: 0' ('/ data merge entity @e [type = item, limit = 1] {Fire: 10 , Item: {id: "minecraft: golden_hoe", Count: 1b, tag: {display: {name: "{\" text \ ": \" The Ring \ ", \" color \ ": \" dark_red \ ", \ "bold \": true, \ "italic \": false} "}, HideFlags: 63, Unbreakable: 1b, Damage: 1}}} '). Both did not work.

Google has also spit nothing clever.

There's a command in version 1.8 that has solved this, but I can't find the code because it is a CommandBlock machine, and therefore quite confusing. (https://www.ijaminecraft.com/cmd/herobrine_boss/)

I would be happy to receive an answer soon

or
-1

You could make a modification and make the items fire resistant.

Gu

The problem is that I'm playing in the 1.14, just now Optifine is out there.

In the 1.8, this is fire-resistant yes…

or

Could you please read my answer first before commenting?

Make a modification for you and you can add other things.

And it's nice that it works in the 1.8 but as you said you play on the 1.14 and you can't change that.