#i want to remove entity heal

1 messages · Page 1 of 1 (latest)

proper jacinthBOT
#
How to ask a good question!

Be specific and include relevant details about the question upfront.
• What are you trying to accomplish?
• If you have code, which part is not working?
• What have you already tried?
• Have you searched the Bedrock Wiki?

devout marsh
#

What exactly do you mean by that?

strange forgeBOT
#
nelfye

Comment poser une bonne question ! Soyez précis et incluez dès le départ des détails pertinents sur la question. • Qu'est-ce que vous essayez d'accomplir? • Si vous avez du code, quelle partie ne fonctionne pas ? • Qu'avez-vous déjà essayé ? • Avez-vous effectué une recherche sur le wiki Bedrock ?

valid dune
#

i want to remove entity heal

devout marsh
#

Yes, but what do you mean by entity heal? Do you want it to take no damage, or do you mean you don't want healing potions to effect it?

valid dune
devout marsh
#

Gotcha. For that, you'd add this component:json "minecraft:damage_sensor":{ "triggers":{ "cause":"all", "deals_damage":false } }

strange forgeBOT
#
nelfye

I already tried

valid dune
#
{
    "format_version": "1.16.100",
    "minecraft:entity": {
        "description": {
            "identifier": "nhe:gif",
            "is_spawnable": false,
            "is_summonable": true,
            "is_experimental": false
        },
        "components": {
            "minecraft:physics": {
                "has_gravity": true,
                "has_collision": true
            },
            "minecraft:pushable": {
                "is_pushable": false
            },
            "minecraft:push_through": {
                "value": 1
            },
            "minecraft:damage_sensor": {
                "triggers": {
                    "cause": "all",
                    "has_damage": false
                }
            },
            "minecraft:custom_hit_test": {
                "hitboxes": [
                    {
                        "width": 1,
                        "height": 1,
                        "pivot": [0, 0.5, 0]
                    }
                ]
            }
        }
    }
}