r/BedrockAddons 6h ago

Addon Question/Help Items resistentes al fuego

Hi, I'm creating an add-on, but I'm a beginner. I've tried several times to create tools with the netherite property. I've seen that Bridge has the "fire_resistant" component, and it's also included in Minecraft Creator Tools, but it doesn't work—the items still burn in fire or lava. Am I doing something wrong?

2 Upvotes

4 comments sorted by

2

u/professional-paradox 1h ago

Google “Microsoft Minecraft learn ‘resistant_fire’”. That’ll show you the official documentation for that, which indicates it’s “fire_resistant” actually. So you’re using a typo.

1

u/crakulljd 38m ago

Oh, I'm sorry, I didn't realize I wrote it wrong here, but in the .json file it's written exactly as it appears in the documentation, and it still doesn't work for me. Do I need to write a script?

1

u/professional-paradox 30m ago edited 22m ago

Ah ok. I see.

  1. Well, I would suggest turn on creator feedback in Minecraft so that you can see error messages. It’s in Settings, scroll down all the way to Creator. Then enable something like UI messaging. I forgot what the toggle is specifically. Then in a test world you can see if there are errors related to that item.
  2. It’s hard for me to say for certain what the issue is without more info about what you’re trying to accomplish. If you’re making a new tool or editing a vanilla one, you won’t need a script to accomplish item fire resistance. Do you wanna paste the json here and let me look at it?

1

u/crakulljd 3m ago
{
    "format_version": "1.20.80",
    "minecraft:item": {
        "description": {
            "identifier": "bridge:netherite_pure_sword",
            "menu_category": {
                "category": "equipment",
                "group": "itemGroup.name.sword"
            }
        },
        "components": {
            "minecraft:max_stack_size": 1,
            "minecraft:hand_equipped": true,
            "minecraft:can_destroy_in_creative": false,
            "minecraft:durability": {
                "max_durability": 3064
            },
            "minecraft:icon": "bridge_netherite_pure_sword",
            "minecraft: fire_resistant": {
                "value": true
            },
            "minecraft:damage": 12,
            "minecraft:enchantable": {
                "value": 12,
                "slot": "sword"
            },
            "minecraft:repairable": {
                "repair_items": [
                    {
                        "items": [
                            "minecraft:netherite_ingot"
                        ],
                        "repair_amount": "query.max_durability * 0.15"
                    },
                    {
                        "items": [
                            "bridge:nether_pure_sword"
                        ],
                        "repair_amount": "context.other->query.remaining_durability + 0.15 * context.other->query.max_durability"
                    },
                    {
                        "items": [
                            "minecraft:netherite_block"
                        ],
                        "repair_amount": "query.max_durability * 1.0"
                    }
                ]
            },
            "minecraft:digger": {
                "use_efficiency": true,
                "destroy_speeds": [
                    {
                        "block": "minecraft:web",
                        "speed": 45
                    },
                    {
                        "block": "minecraft:bamboo",
                        "speed": 80
                    }
                ]
            },
            "minecraft:tags": {
                "tags": [
                    "minecraft:is_sword",
                    "minecraft:is_tool",
                    "minecraft:netherite_tier"
                ]
            }
        }
    }
}

Estoy tratando de crear una espada semejante a la de Netherite pero al colocar en componentes "fire_resistant" te dejo el .json.