Nearby Entities - MerchantPug/cursedorigins GitHub Wiki

Thank you Ultra (MobOrigins)

Entity Condition. Checks whether a specific type of entity is within the specified bounding box of the player.

Type ID: cursedorigins:nearby_entities

Fields:

entity_type, string: ID of the entity type the entity needs to have to pass the check.

player_box_multiplier, float: Expands the player's bounding box to check for entities.

comparison, Comparison: How the entity amount should be compared to the specified value.

compare_to, int: The amount of entities that are the entity type that are in the specified bounding box of the player.