---
title: "Entity In Frame Predicate"
---

| Property | Type | Description |
|-|-|-|
| type | ResourceLocation | Checks type of the entity. Example: 'minecraft:zombie' |
| name | String | Checks entity name |
| distance | MinMaxBounds.Ints | Checks distance between entity and camera at the time of frame creation |

<div name='NOTE' style={{ display: 'inline-block', margin: '2px' }}>
    <div style={{ display: 'flex', alignItems: 'top', backgroundColor: '#232425', borderRadius: '6px', padding: '8px 12px' }}>
      <RocketIcon style={{ color: '#F4EFE9', marginRight: '8px' }} width={20} />
      <span style={{ color: '#F4EFE9', fontSize: '15px' }}>All properties are optional</span>
    </div>
</div><br/>

<div name='INFO' style={{ display: 'inline-block', margin: '2px' }}>
    <div style={{ display: 'flex', alignItems: 'top', backgroundColor: '#21252b', borderRadius: '6px', padding: '8px 12px' }}>
      <InfoIcon style={{ color: '#63b3eb', marginRight: '8px' }} width={20} />
      <span style={{ color: '#63b3eb', fontSize: '15px' }}>MinMaxBounds.Ints is the same as in vanilla advancements</span>
    </div>
</div><br/>