Entity Type Location (Entity Condition Type) - MerchantCalico/bovines-and-buttercups-archive GitHub Wiki

Tests to see if an entity's type's resource location matches a specified resource location.

Type Resource Location: bovinesandbuttercups:entity_type_location

Introduced In: 1.4.0

Fields

Field Type Default Description
location [Entity Type Tag Resource Location](/MerchantCalico/bovines-and-buttercups-archive/wiki/Tag-Resource-Location-(Data-Type)) Defines the entity type resource location to be used in checks.

Example

"condition": {
  "type": "bovinesandbuttercups:entity_type_location",
  "location": "#minecraft:skeletons"
}

This example checks if an entity's type's resource location is inside the minecraft:skeletons entity type tag (Located in data/minecraft/tags/entity_types/skeletons.json),