Prevent Entity Collision

Power Type

Prevents the entity that has the power from colliding with other entities.

Type ID: origins:prevent_entity_collision

Note

In the context of this power type, the 'actor' entity is the entity that has the power whilst the 'target' entity is the entity that was collided with.

Caution

Currently, this power type does not prevent collisions of certain entities that have solid hitboxes, such as Boats and Shulkers.

Fields

Field Type Default Description
bientity_condition Bi-entity Condition Type optional If specified, the collision will only be prevented if this condition is fulfilled by either or both 'actor' and 'target' entities.

Examples

{
    "type": "origins:prevent_entity_collision"
}

This example will prevent the entity that has the power from colliding with other entities.

{
    "type": "origins:prevent_entity_collision",
    "bientity_condition": {
        "type": "origins:owner"
    }
}

This example will prevent the entity that has the power from colliding with tamable entities that are owned by the said entity.