Skip to content

Prevent Label Render

Power Type

Prevents the name tag label of the entity that has the power from rendering.

Type ID: apugli:prevent_label_render

Fields

Field Type Default Description
entity_condition Entity Condition Type optional If specified, only entities that fulfills this entity condition type will not see the name tag label of the entity that has the power.
bientity_condition Bi-entity Condition Type optional If specified, only entities which fulfills this bi-entity condition type in relation to the entity that has the power will not see the name tag label of the entity that has the power.

Examples

{
    "type": "apugli:prevent_label_render",
    "entity_condition": {
        "type": "apoli:in_block_anywhere",
        "block_condition": {
            "type": "apoli:fluid",
            "fluid_condition": {
                "type": "apoli:in_tag",
                "tag": "minecraft:water"
            }
        },
        "comparison": ">=",
        "compare_to": 1
    }
}

This example will prevent the name tag label of the entity that has the power from rendering to entities that has their eyes or feet in water.