Index
Properties
minecraft:ambient_sound_interval
minecraft:burns_in_daylight
minecraft:can_climb
minecraft:can_fly
minecraft:can_power_jump
minecraft:collision_box
Name | Type | Default | Description |
---|---|---|---|
width | Decimal | 1 | Width and Depth of the Collision Box in Blocks |
height | Decimal | 1 | Height of the Collision Box in Blocks |
minecraft:color
Name | Type | Default | Description |
---|---|---|---|
value | Integer | 0 | The Palette Color value of the entity |
minecraft:default_look_angle
minecraft:equipment
Name | Type | Default | Description |
---|---|---|---|
table | String | The path to the equipment table, relative to the Behavior Pack's root |
minecraft:fire_immune
minecraft:floats_in_liquid
minecraft:flying_speed
Name | Type | Default | Description |
---|---|---|---|
value | Decimal | 0 | Flying speed in blocks per tick |
minecraft:foot_size
minecraft:friction_modifier
minecraft:ground_offset
minecraft:hurt_when_wet
minecraft:identifier
Name | Type | Default | Description |
---|---|---|---|
id | String | The identifier by which this entity definition can be recognized. Should be unique |
minecraft:input_ground_controlled
minecraft:is_baby
minecraft:is_charged
minecraft:is_chested
minecraft:is_dyeable
Name | Type | Default | Description |
---|---|---|---|
interact_text | String | The text that will display when interacting with this entity with a dye |
minecraft:is_ignited
minecraft:is_saddled
minecraft:is_shaking
minecraft:is_sheared
minecraft:is_stackable
minecraft:is_tamed
minecraft:item_controllable
Name | Type | Default | Description |
---|---|---|---|
control_items | List | List of items that can be used to control this entity |
minecraft:loot
Name | Type | Default | Description |
---|---|---|---|
table | String | The path to the loot table, relative to the Behavior Pack's root |
minecraft:mark_variant
minecraft:push_through
minecraft:scale
Name | Type | Default | Description |
---|---|---|---|
value | Decimal | 1 | The value of the scale. 1.0 means the entity will appear at the scale they are defined in their model. Higher numbers make the entity bigger |
minecraft:sound_volume
minecraft:type_family
Name | Type | Default | Description |
---|---|---|---|
family | List | List of family names |
minecraft:variant
Name | Type | Default | Description |
---|---|---|---|
value | Integer | 1 | The ID of the variant. By convention, 0 is the ID of the base entity |
minecraft:walk_animation_speed
minecraft:wants_jockey
Attributes
minecraft:attack
Name | Type | Default | Description |
---|---|---|---|
damage | Range [a, b] | Range of the random amount of damage the melee attack deals | |
effect_duration | Decimal | 0 | Duration in seconds of the status ailment applied to the damaged entity |
effect_name | String | Name of the status ailment to apply to an entity attacked by this entity's melee attack |
minecraft:spell_effects
Name | Type | Default | Description |
---|---|---|---|
add_effects | String | List of effects to add to this entity after adding this component | |
remove_effects | List | List of names of effects to be removed from this entity after adding this component |
minecraft:strength
Components
minecraft:addrider
Name | Type | Default | Description |
---|---|---|---|
entity_type | String | The entity type that will be riding this entity. |
minecraft:ageable
Name | Type | Default | Description |
---|---|---|---|
duration | Decimal | 1200 | Amount of time before the entity grows |
feedItems | String | List of items that can be fed to the entity. Includes 'item' for the item name and 'growth' to define how much time it grows up by | |
grow_up | Trigger | Event to run when this entity grows up |
minecraft:angry
Name | Type | Default | Description |
---|---|---|---|
duration | Integer | 25 | The amount of time in seconds that the entity will be angry |
broadcastRange | Integer | 20 | Distance in blocks within which other entities of the same entity definition will become angry |
broadcastAnger | Boolean | false | If true, other entities of the same entity definition within the broadcastRange will also become angry |
calm_event | Trigger | Event to run after the number of seconds specified in duration expires (when the entity stops being 'angry' |
minecraft:boostable
Name | Type | Default | Description |
---|---|---|---|
duration | Decimal | 3 | Time in seconds for the boost |
speed_multiplier | Decimal | 1 | Factor by which the entity's normal speed increases. E.g. 2.0 means go twice as fast |
boost_items | String | List of items that can be used to boost while riding this entity |
minecraft:breathable
Name | Type | Default | Description |
---|---|---|---|
totalSupply | Integer | 15 | Time in seconds the entity can hold its breath |
suffocateTime | Integer | -20 | Time in seconds between suffocation damage |
breathesSolids | Boolean | false | If true, this entity can breathe in solid blocks |
breathesAir | Boolean | true | If true, this entity can breathe in air |
breathesWater | Boolean | false | If true, this entity can breathe in water |
breathesLava | Boolean | false | If true, this entity can breathe in lava |
nonBreatheBlocks | List | List of blocks this entity can't breathe in, in addition to the above | |
breatheBlocks | List | List of blocks this entity can breathe in, in addition to the above | |
generatesBubbles | Boolean | true | If true, this entity will have visible bubbles while in water |
minecraft:breedable
Name | Type | Default | Description |
---|---|---|---|
breedCooldown | Decimal | 60 | Time in seconds before the Entity can breed again |
extraBabyChance | Decimal | 0 | Chance that up to 16 babies will spawn between 0.0 and 1.0, where 1.0 is 100% |
requireTame | Boolean | true | If true, the entities need to be tamed first before they can breed. |
inheritTamed | Boolean | true | If true, the babies will be automatically tamed if its parents are |
allowSitting | Boolean | false | If true, entities can breed while sitting |
extra_variant | Decimal | 0 | The percentage chance of a mutation on the entity's extra variant type |
variant | Decimal | 0 | The percentage chance of a mutation on the entity's variant type |
mutation_factor | String | Determines how likely the babies are to NOT inherit one of their parent's variances. Values are between 0.0 and 1.0, with a higher number meaning more likely to mutate | |
babyType | String | The entity definition of this entity's babies | |
mateType | String | The entity definition of this entity's mate | |
color | Decimal | 0 | The percentage chance of a mutation on the entity's color |
breedItems | List | The list of items that can be used to get the entity into the 'love' state | |
breedsWith | String | The list of entity definitions that this entity can breed with | |
breed_event | Trigger | Event to run when this entity breeds |
minecraft:damage_sensor
Name | Type | Default | Description |
---|---|---|---|
on_damage | Trigger | List of triggers with the events to call when taking this specific kind of damage. Allows specifying filters for entity definitions and events | |
cause | String | Type of damage that triggers this set of events | |
deals_damage | Boolean | true | If true, the damage dealt to the entity will take off health from it. Set to false to make the entity ignore that damage |
minecraft:environment_sensor
Name | Type | Default | Description |
---|---|---|---|
on_environment | Trigger | The list of triggers that fire when the environment conditions match the given filter criteria. |
minecraft:equippable
Name | Type | Default | Description |
---|---|---|---|
slots | String | List of slots and the item that can be equipped |
minecraft:explode
Name | Type | Default | Description |
---|---|---|---|
fuseLength | Range [a, b] | The range for the random amount of time the fuse will be lit before exploding. A negative value means the explosion will be immediate | |
power | Decimal | 3 | The radius of the explosion in blocks and the amount of damage the explosion deals |
causesFire | Boolean | false | If true, blocks in the explosion radius will be set on fire |
fuseLit | Boolean | false | If true, the fuse is already lit when this component is added to the entity |
maxResistance | Decimal | -2147483648 | Blocks with less resistance than this value will be broken by the explosion |
destroyAffectedByGriefing | Boolean | false | If true, whether the explosion breaks blocks is affected by the mob griefing game rule |
fireAffectedByGriefing | Boolean | false | If true, whether the explosion causes fire is affected by the mob griefing game rule |
breaks_blocks | Boolean | true | If true, the explosion will destroy blocks in the explosion radius |
minecraft:healable
Name | Type | Default | Description |
---|---|---|---|
items | String | The list of items that can be used to heal this entity |
minecraft:interact
Name | Type | Default | Description |
---|---|---|---|
cooldown | Decimal | 0 | Time in seconds before this entity can be interacted with again |
swing | Boolean | false | If true, the player will do the 'swing' animation when interacting with this entity |
hurt_item | Integer | 0 | If greater than 0, the interaction uses an item to hurt the entity. The number is the amount of damage to apply to the item |
use_item | Boolean | false | If true, the interaction will use an item |
interact_text | String | Text to show when the player is able to interact in this way with this entity | |
table | String | File path, relative to the Behavior Pack's path, to the loot table file | |
add_items | String | Loot table with items to add to the player's inventory upon successful interaction | |
spawn_items | String | Loot table with items to drop on the ground upon successful interaction | |
transform_to_item | String | The item used will transform to this item upon successful interaction. Format: itemName:auxValue | |
play_sounds | List | List of sounds to play when the interaction occurs | |
on_interact | Trigger | Event to fire when the interaction occurs |
minecraft:inventory
Name | Type | Default | Description |
---|---|---|---|
linked_slots_size | Integer | 0 | Number of linked slots (e.g. Player Hotbar) the container has |
inventory_size | Integer | 5 | Number of slots the container has |
container_type | String | none | Type of container this entity has. Can be horse, minecart_chest, minecart_hopper, inventory, container or hopper |
private | Boolean | false | If true, only the entity can access the inventory |
can_be_siphoned_from | Boolean | false | If true, the contents of this inventory can be removed by a hopper |
restrict_to_owner | Boolean | false | If true, the entity's inventory can only be accessed by its owner or itself |
minecraft:item_hopper
minecraft:jump.dynamic
minecraft:jump.static
minecraft:leashable
Name | Type | Default | Description |
---|---|---|---|
soft_distance | Decimal | 4 | Distance in blocks at which the 'spring' effect starts acting to keep this entity close to the entity that leashed it |
on_unleash | Trigger | Event to call when this entity is unleashed | |
on_leash | Trigger | Event to call when this entity is leashed | |
max_distance | Decimal | 10 | Distance in blocks at which the leash breaks |
hard_distance | Decimal | 6 | Distance in blocks at which the leash stiffens, restricting movement |
minecraft:lookat
Name | Type | Default | Description |
---|---|---|---|
mAllowInvulnerable | Boolean | false | If true, invulnerable entities (e.g. Players in creative mode) are considered valid targets |
setTarget | Boolean | true | If true, this entity will set the attack target as the entity that looked at it |
searchRadius | Decimal | 10 | Maximum distance this entity will look for another entity looking at it |
look_cooldown | Range [a, b] | The range for the random amount of time during which the entity is 'cooling down' and won't get angered or look for a target | |
look_event | Trigger | Event to run when the entities specified in filters look at this entity | |
filters | List | player | Defines the entities that can trigger this component |
minecraft:movement.basic
Name | Type | Default | Description |
---|---|---|---|
max_turn | Decimal | 30 | The maximum number in degrees the mob can turn per tick. |
minecraft:movement.jump
Name | Type | Default | Description |
---|---|---|---|
jump_delay | Range [a, b] | Delay after landing when using the slime move control. | |
max_turn | Decimal | 30 | The maximum number in degrees the mob can turn per tick. |
minecraft:movement.skip
Name | Type | Default | Description |
---|---|---|---|
max_turn | Decimal | 30 | The maximum number in degrees the mob can turn per tick. |
minecraft:movement.sway
Name | Type | Default | Description |
---|---|---|---|
max_turn | Decimal | 30 | The maximum number in degrees the mob can turn per tick. |
minecraft:nameable
Name | Type | Default | Description |
---|---|---|---|
allowNameTagRenaming | Boolean | true | If true, this entity can be renamed with name tags |
alwaysShow | Boolean | false | If true, the name will always be shown |
default_trigger | Trigger | ||
name_actions | String | Describes the special names for this entity and the events to call when the entity acquires those names |
Name | Type | Default | Description |
---|---|---|---|
can_pass_doors | Boolean | true | Whether a path can be created through a door |
avoid_sun | Boolean | false | Whether or not the pathfinder should avoid tiles that are exposed to the when creating paths |
can_float | Boolean | false | Tells the pathfinder whether or not it can float in water |
avoid_water | Boolean | false | Tells the pathfinder to avoid water when creating a path |
can_open_doors | Boolean | false | Tells the pathfinder that it can path through a closed door assuming the AI will open the door |
avoid_portals | Boolean | false | Tells the pathfinder to avoid portals (like nether portals) when finding a path |
Name | Type | Default | Description |
---|---|---|---|
can_pass_doors | Boolean | true | Whether a path can be created through a door |
avoid_sun | Boolean | false | Whether or not the pathfinder should avoid tiles that are exposed to the when creating paths |
can_float | Boolean | false | Tells the pathfinder whether or not it can float in water |
avoid_water | Boolean | false | Tells the pathfinder to avoid water when creating a path |
can_open_doors | Boolean | false | Tells the pathfinder that it can path through a closed door assuming the AI will open the door |
avoid_portals | Boolean | false | Tells the pathfinder to avoid portals (like nether portals) when finding a path |
Name | Type | Default | Description |
---|---|---|---|
can_pass_doors | Boolean | true | Whether a path can be created through a door |
avoid_sun | Boolean | false | Whether or not the pathfinder should avoid tiles that are exposed to the when creating paths |
can_float | Boolean | false | Tells the pathfinder whether or not it can float in water |
avoid_water | Boolean | false | Tells the pathfinder to avoid water when creating a path |
can_open_doors | Boolean | false | Tells the pathfinder that it can path through a closed door assuming the AI will open the door |
avoid_portals | Boolean | false | Tells the pathfinder to avoid portals (like nether portals) when finding a path |
Name | Type | Default | Description |
---|---|---|---|
can_pass_doors | Boolean | true | Whether a path can be created through a door |
avoid_sun | Boolean | false | Whether or not the pathfinder should avoid tiles that are exposed to the when creating paths |
can_float | Boolean | false | Tells the pathfinder whether or not it can float in water |
avoid_water | Boolean | false | Tells the pathfinder to avoid water when creating a path |
can_open_doors | Boolean | false | Tells the pathfinder that it can path through a closed door assuming the AI will open the door |
avoid_portals | Boolean | false | Tells the pathfinder to avoid portals (like nether portals) when finding a path |
minecraft:peek
Name | Type | Default | Description |
---|---|---|---|
on_close | Trigger | Event to call when the entity is done peeking | |
on_open | Trigger | Event to call when the entity starts peeking | |
on_target_open | Trigger | Event to call when the entity's target entity starts peeking |
minecraft:projectile
Name | Type | Default | Description |
---|---|---|---|
shouldbounce | Boolean | false | If true, the projectile will bounce upon hit |
liquid_inertia | Decimal | 0 | The fraction of the projectile's speed maintained every frame while traveling in water |
offset | Vector [a, b, c] | [0, 0.5, 0] | The offset from the entity's anchor where the projectile will spawn |
gravity | Decimal | 0 | The gravity applied to this entity when thrown. The higher the value, the faster the entity falls |
reflectOnHurt | Boolean | false | If true, this entity will be reflected back when hit |
particle | String | iconcrack | Particle to use upon collision |
angleoffset | Decimal | 0 | Determines the angle at which the projectile is thrown |
destroyOnHurt | Boolean | false | If true, this entity will be destroyed when hit |
power | Decimal | 1 | Determines the velocity of the projectile |
uncertaintyBase | Decimal | 0 | The base accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier |
uncertaintyMultiplier | Decimal | 0 | Determines how much difficulty affects accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier |
critParticleOnHurt | Boolean | false | If true, the projectile will produce additional particles when a critical hit happens |
knockback | Boolean | true | If true, the projectile will knock back the entity it hits |
filter | String | Entity Definitions defined here can't be hurt by the projectile | |
semirandomdiffdamage | Boolean | false | If true, damage will be randomized based on damage and speed |
onFireTime | Decimal | 5 | Time in seconds that the entity hit will be on fire for |
catchFire | Boolean | false | If true, the entity hit will be set on fire |
fireAffectedByGriefing | Boolean | false | If true, whether the projectile causes fire is affected by the mob griefing game rule |
potionEffect | Integer | -1 | Defines the effect the arrow will apply to the entity it hits |
splashRange | Decimal | 4 | Radius in blocks of the 'splash' effect |
splashPotion | Boolean | false | If true, the projectile will be treated like a splash potion |
isdangerous | Boolean | false | If true, the projectile will be treated as dangerous to the players |
shoottarget | Boolean | true | If true, the projectile will be shot towards the target of the entity firing it |
shootSound | String | The sound that plays when the projectile is shot | |
hitSound | String | The sound that plays when the projectile hits something | |
inertia | Decimal | 0 | The fraction of the projectile's speed maintained every frame while traveling in air |
homing | Boolean | false | If true, the projectile homes in to the nearest entity |
minecraft:rail_movement
Name | Type | Default | Description |
---|---|---|---|
max_speed | Decimal | 0 | Maximum speed that this entity will move at when on the rail |
minecraft:rail_sensor
Name | Type | Default | Description |
---|---|---|---|
tick_command_block_on_activate | Boolean | true | If true, command blocks will start ticking when passing over an activated rail |
check_block_types | Boolean | false | If true, on tick this entity will trigger its on_deactivate behavior |
eject_on_activate | Boolean | true | If true, this entity will eject all of its riders when it passes over an activated rail |
tick_command_block_on_deactivate | Boolean | false | If false, command blocks will stop ticking when passing over a deactivated rail |
on_deactivate | Trigger | Event to call when the rail is deactivated | |
on_activate | Trigger | Event to call when the rail is activated | |
eject_on_deactivate | Boolean | false | If true, this entity will eject all of its riders when it passes over a deactivated rail |
minecraft:rideable
Name | Type | Default | Description |
---|---|---|---|
seat_count | Integer | 1 | The number of entities that can ride this entity at the same time |
family_types | List | List of entities that can ride this entity | |
crouching_skip_interact | Boolean | true | If true, this entity can't be interacted with if the entity interacting with it is crouching |
interact_text | String | The text to display when the player can interact with the entity | |
seats | String | The list of positions and number of riders for each position for entities riding this entity | |
controlling_seat | Integer | 0 | The seat that designates the driver of the entity |
minecraft:scale_by_age
Name | Type | Default | Description |
---|---|---|---|
start_scale | Decimal | 1 | Initial scale of the newborn entity |
end_scale | Decimal | 1 | Ending scale of the entity when it's fully grown |
minecraft:shooter
Name | Type | Default | Description |
---|---|---|---|
def | String | Entity definition to use as projectile for the ranged attack. The entity definition must have the projectile component to be able to be shot as a projectile | |
auxVal | Integer | -1 | ID of the Potion effect to be applied on hit |
minecraft:sittable
Name | Type | Default | Description |
---|---|---|---|
stand_event | Trigger | Event to run when the entity exits the 'sit' state | |
sit_event | Trigger | Event to run when the entity enters the 'sit' state |
minecraft:spawn_entity
Name | Type | Default | Description |
---|---|---|---|
spawn_sound | String | plop | Name of the sound effect to play when the entity is spawned |
max_wait_time | Integer | 600 | Maximum amount of time to randomly wait in seconds before another entity is spawned |
min_wait_time | Integer | 300 | Minimum amount of time to randomly wait in seconds before another entity is spawned |
spawn_method | String | born | Method to use to spawn the entity |
spawn_entity | String | Identifier of the entity to spawn. Leave empty to spawn the item defined above instead | |
spawn_item | String | egg | Name of the item to spawn |
spawn_event | String | minecraft:entity_born | Event to call when the entity is spawned |
minecraft:tameable
Name | Type | Default | Description |
---|---|---|---|
tame_event | Trigger | Event to run when this entity becomes tamed | |
probability | Decimal | 1 | The chance of taming the entity with each item use between 0.0 and 1.0, where 1.0 is 100% |
tameItems | List | The list of items that can be used to tame this entity |
minecraft:tamemount
Name | Type | Default | Description |
---|---|---|---|
maxTemper | Integer | 100 | The maximum value for the entity's random starting temper |
minTemper | Integer | 0 | The minimum value for the entity's random starting temper |
attemptTemperMod | Integer | 5 | The amount the entity's temper will increase when mounted |
ride_text | String | The text that shows in the riding interact button | |
feed_text | String | The text that shows in the feeding interact button | |
feedItems | String | The list of items that can be used to increase the entity's temper and speed up the taming process | |
autoRejectItems | String | The list of items that, if carried while interacting with the entity, will anger it | |
tame_event | Trigger | Event that triggers when the entity becomes tamed |
minecraft:target_nearby_sensor
Name | Type | Default | Description |
---|---|---|---|
inside_range | Decimal | 1 | Maximum distance in blocks that another entity will be considered in the 'inside' range |
outside_range | Decimal | 5 | Maximum distance in blocks that another entity will be considered in the 'outside' range |
on_outside_range | Trigger | Event to call when an entity gets in the outside range. Can specify 'event' for the name of the event and 'target' for the target of the event | |
on_inside_range | Trigger | Event to call when an entity gets in the inside range. Can specify 'event' for the name of the event and 'target' for the target of the event |
minecraft:teleport
Name | Type | Default | Description |
---|---|---|---|
randomTeleports | Boolean | true | If true, the entity will teleport randomly |
maxRandomTeleportTime | Decimal | 20 | Maximum amount of time in seconds between random teleports |
minRandomTeleportTime | Decimal | 0 | Minimum amount of time in seconds between random teleports |
target_teleport_chance | Decimal | 1 | The chance that the entity will teleport between 0.0 and 1.0. 1.0 means 100% |
targetDistance | Decimal | 16 | Maximum distance the entity will teleport when chasing a target |
randomTeleportCube | Vector [a, b, c] | [32, 16, 32] | Entity will teleport to a random position within the area defined by this cube |
darkTeleportChance | Decimal | 0 | Modifies the chance that the entity will teleport if the entity is in darkness |
lightTeleportChance | Decimal | 0 | Modifies the chance that the entity will teleport if the entity is in daylight |
minecraft:timer
Name | Type | Default | Description |
---|---|---|---|
randomInterval | Boolean | true | If true, the amount of time on the timer will be random between the min and max values specified in time |
looping | Boolean | true | If true, the timer will restart every time after it fires |
time | Range [a, b] | Amount of time in seconds for the timer. Can be specified as a number or a pair of numbers (min and max) | |
time_down_event | Trigger | Event to fire when the time on the timer runs out |
minecraft:trade_table
Name | Type | Default | Description |
---|---|---|---|
display_name | String | Name to be displayed while trading with this entity | |
table | String | File path relative to the resource pack root for this entity's trades |
minecraft:transformation
Name | Type | Default | Description |
---|---|---|---|
component_groups | List | Names of component groups to add | |
begin_transform_sound | List | Sound to play when the transformation starts | |
into | String | Entity Definition that this entity will transform into | |
transformation_sound | List | Sound to play when the entity is done transforming | |
add | String | List of components to add to the entity after the transformation | |
delay | String | Defines the properties of the delay for the transformation | |
block_assist_chance | Decimal | 0 | Chance that the entity will look for nearby blocks that can speed up the transformation. Value must be between 0.0 and 1.0 |
value | Decimal | 0 | Time in seconds before the entity transforms |
block_radius | Integer | 0 | Distance in Blocks that the entity will search for blocks that can help the transformation |
block_max | Integer | 0 | Maximum number of blocks the entity will look for to aid in the transformation. If not defined or set to 0, it will be set to the block radius |
block_chance | Decimal | 0 | Chance that, once a block is found, will help speed up the transformation |
block_types | List | List of blocks that can help the transformation of this entity |
Entity Triggers
Name | Default | Description |
---|---|---|
minecraft:on_friendly_anger | Adds the On Friendly Anger trigger to this entity. | |
minecraft:on_death | Adds a trigger to call on this entity's death. | |
minecraft:on_hurt_by_player | Adds a trigger to call when this entity is attacked by the player. | |
minecraft:on_hurt | Adds a trigger to call when this entity takes damage. | |
minecraft:on_target_acquired | Adds a trigger to call when this entity finds a target. | |
minecraft:on_start_takeoff | Adds a trigger to call when this entity starts flying. | |
minecraft:on_start_landing | Adds a trigger to call when this entity lands. | |
minecraft:on_ignite | Adds a trigger to call when this entity is set on fire. | |
minecraft:on_target_escape | Adds a trigger to call when this entity loses the target it currently has. |
Filters
Parameter | Description |
---|---|
with_item | Return true if any of the items listed is in the owning entity's hands. |
target_without_armor | Returns true if all of the items listed aren't being worn by the owning entity's target. |
player_with_instabuild | Checks if the player is in creative mode. |
without_item | Return true if all of the items listed aren't in the owning entity's hands. |
without_armor | Return true if all of the items listed aren't being worn by the owning entity. |
with_armor | Return true if any of the items listed are being worn by the owning entity. |
without_equipment | Return true if all of the items listed aren't in the hands or being worn by the owning entity. |
target_without_components | Returns true if the owning entity's target has none of the components listed. |
with_equipment | Return true if all of the items listed are either in the hands or being worn by the owning entity. |
without_components | Returns true if the owning entity has none of the components listed. |
target_without_families | Returns true if the owning entity's target has none of the families listed. |
with_components | Returns true if the owning entity has all the components listed. |
with_families | Returns true if the owning entity has any of the families listed. |
other_without_color | Returns true if the entity being filtered is not of a specific color. |
without_families | Returns true if the owning entity has none of the families listed. |
is_in_caravan | Returns true if the owning entity is part of a caravan. |
is_not_in_caravan | Returns true if the owning entity is not part of a caravan. |
target_without_color | Returns true if the owning entity's target is not of a specific color. |
with_environment_any | Return true if any of the environmental conditions listed exist in the owning entity's surroundings. |
with_variant | Returns true if the owning entity is a variant. |
is_game_rule_true | Returns true if the specified game rule is active. |
without_variant | Returns true if the owning entity is not a variant. |
other_with_item | Return true if any of the items listed is in the hands of the entity being filtered. |
with_color | Returns true if the owning entity is a special color. |
without_color | Returns true if the owning entity is not a special color. |
without_environment_any | Return true if any of the environmental conditions listed do not exist in the owning entity's surroundings. |
with_environment_every | Return true if all of the environmental conditions listed exist in the owning entity's surroundings. |
with_damage_cause | Only valid in damage sensor trigger. Return true if damage is of type listed. |
other_without_armor | Return true if all of the items listed aren't being worn by the entity being filtered. |
with_damage_fatal | Only valid in damage sensor trigger. Return true if damage taken is fatal. |
target_without_item | Returns true if all of the items listed aren't in the owning entity's targets hands. |
without_environment_every | Return true if all of the environmental conditions listed do not exist in the owning entity's surroundings. |
other_with_equipment | Return true if all of the items listed are either in the hands or being worn by the entity being filtered. |
target_with_item | Returns true if any of the items listed is in the owning entity's targets hands. |
other_without_components | Returns true if the entity being filtered has none of the components listed. |
target_with_armor | Returns true if any of the items listed are being worn by the owning entity's target. |
target_with_equipment | Returns true if all of the items listed are either in the hands or being worn by the owning entity's target. |
other_is_owner | Returns true if the entity being filtered is owned by this entity. |
target_without_equipment | Returns true if all of the items listed aren't in the hands or being worn by the owning entity's target. |
target_with_components | Returns true if the owning entity's target has all the components listed. |
target_with_families | Returns true if the owning entity's target has any of the families listed. |
other_without_variant | Returns true if the entity being filtered is not a variant. |
target_with_variant | Returns true if the owning entity's target is a variant. |
target_without_variant | Returns true if the owning entity's target is not a variant. |
target_with_color | Returns true if the owning entity's target is of a specific color. |
is_not_world_difficulty | Returns true if the world does not have the specified difficulty set. |
other_with_families | Returns true if the entity being filtered has any of the families listed. |
other_without_item | Return true if all of the items listed aren't in the hands of the entity being filtered. |
other_with_armor | Return true if any of the items listed are being worn by entity being filtered. |
other_without_equipment | Return true if all of the items listed aren't in the hands or being worn by the entity being filtered. |
other_with_components | Returns true if the entity being filtered has all the components listed. |
other_without_families | Returns true if the entity being filtered has none of the families listed. |
other_is_target | Returns true if the entity being filtered is this entity's current target. |
other_is_in_caravan | Returns true if the entity being filtered is in a caravan. |
other_is_not_in_caravan | Returns true if the entity being filtered is not in a caravan. |
other_with_color | Returns true if the entity being filtered is of a specific color. |
other_with_variant | Returns true if the entity being filtered is a variant. |
is_world_difficulty | Returns true if the world has the specified difficulty set. |
is_game_rule_false | Returns true if the specified game rule is not active. |
Environment Filter Conditions
Condition | Description |
---|---|
surface | |
altitude_greater | |
underground | |
altitude_less | |
brightness_greater | |
brightness_less | |
night | |
day | |
biome |
Biomes
Biome |
---|
desert |
beach |
forest |
extreme_hills |
river |
the_nether |
plain |
flat |
ice |
mesa |
jungle |
mushroom_island |
ocean |
savanna |
stone_beach |
swamp |
taiga |
the_end |