Version: 1.1.0.55

Index

Attributes
minecraft:attack
minecraft:spell_effects
minecraft:strength
Properties
minecraft:ambient_sound_interval
minecraft:burns_in_daylight
minecraft:can_climb
minecraft:can_fly
minecraft:can_power_jump
minecraft:collision_box
minecraft:color
minecraft:default_look_angle
minecraft:equipment
minecraft:fire_immune
minecraft:floats_in_liquid
minecraft:flying_speed
minecraft:foot_size
minecraft:friction_modifier
minecraft:ground_offset
minecraft:hurt_when_wet
minecraft:identifier
minecraft:input_ground_controlled
minecraft:is_baby
minecraft:is_charged
minecraft:is_chested
minecraft:is_dyeable
minecraft:is_ignited
minecraft:is_saddled
minecraft:is_shaking
minecraft:is_sheared
minecraft:is_stackable
minecraft:is_tamed
minecraft:item_controllable
minecraft:loot
minecraft:mark_variant
minecraft:push_through
minecraft:scale
minecraft:sound_volume
minecraft:type_family
minecraft:variant
minecraft:walk_animation_speed
minecraft:wants_jockey
Components
minecraft:addrider
minecraft:ageable
minecraft:agent_command
minecraft:angry
minecraft:boostable
minecraft:breathable
minecraft:breedable
minecraft:damage_sensor
minecraft:environment_sensor
minecraft:equippable
minecraft:explode
minecraft:healable
minecraft:interact
minecraft:inventory
minecraft:item_hopper
minecraft:jump.dynamic
minecraft:jump.static
minecraft:leashable
minecraft:lookat
minecraft:movement.basic
minecraft:movement.jump
minecraft:movement.skip
minecraft:movement.sway
minecraft:nameable
minecraft:navigation.climb
minecraft:navigation.float
minecraft:navigation.swim
minecraft:navigation.walk
minecraft:npc
minecraft:peek
minecraft:projectile
minecraft:rail_movement
minecraft:rail_sensor
minecraft:rideable
minecraft:scale_by_age
minecraft:shareables
minecraft:shooter
minecraft:sittable
minecraft:spawn_entity
minecraft:tameable
minecraft:tamemount
minecraft:target_nearby_sensor
minecraft:teleport
minecraft:timer
minecraft:trade_table
minecraft:transformation
Entity Triggers
Filters
Environment Filter Conditions
Biomes
Back to top

Properties

minecraft:ambient_sound_interval

Description

Sets the entity's delay between playing its ambient sound. Back to top

minecraft:burns_in_daylight

Description

Sets that this entity burns if exposed to daylight.

Vanilla Entities that use this

minecraft:zombie_villager, Back to top

minecraft:can_climb

Description

Allows this entity to climb up ladders.

Vanilla Entities that use this

minecraft:evocation_illager, minecraft:zombie_villager, Back to top

minecraft:can_fly

Description

Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.

Vanilla Entities that use this

minecraft:wither, Back to top

minecraft:can_power_jump

Description

Allows the entity to power jump like the horse does in vanilla.

Vanilla Entities that use this

minecraft:horse, minecraft:mule, Back to top

minecraft:collision_box

Description

Sets the width and height of the Entity's collision box.

Parameters

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

Vanilla Entities that use this

minecraft:horse, minecraft:evocation_illager, minecraft:zombie_villager, Back to top

minecraft:color

Description

Defines the entity's color

Parameters

Name Type Default Description
value Integer 0 The Palette Color value of the entity

Vanilla Entities that use this

minecraft:wolf, Back to top

minecraft:default_look_angle

Description

Sets this entity's default head rotation angle. Back to top

minecraft:equipment

Description

Sets the Equipment table to use for this Entity

Parameters

Name Type Default Description
table String The path to the equipment table, relative to the Behavior Pack's root

Vanilla Entities that use this

minecraft:zombie_pigman, Back to top

minecraft:fire_immune

Description

Sets that this entity doesn't take damage from fire.

Vanilla Entities that use this

minecraft:zombie_pigman, Back to top

minecraft:floats_in_liquid

Description

Sets that this entity can float in liquid blocks. Back to top

minecraft:flying_speed

Description

Speed in Blocks that this entity flies at.

Parameters

Name Type Default Description
value Decimal 0 Flying speed in blocks per tick

Vanilla Entities that use this

minecraft:ender_dragon, Back to top

minecraft:foot_size

Description

Sets the number of blocks the entity can step without jumping. Back to top

minecraft:friction_modifier

Description

Defines how much does friction affect this entity. Back to top

minecraft:ground_offset

Description

Sets the offset from the ground that the entity is actually at. Back to top

minecraft:hurt_when_wet

Description

Sets that this entity will take damage when it is wet.

Vanilla Entities that use this

minecraft:enderman, Back to top

minecraft:identifier

Description

Sets the name for this entity's description.

Parameters

Name Type Default Description
id String The identifier by which this entity definition can be recognized. Should be unique
Back to top

minecraft:input_ground_controlled

Description

When configured as a rideable entity, the entity will be controlled using WASD controls.

Vanilla Entities that use this

minecraft:horse, minecraft:mule, Back to top

minecraft:is_baby

Description

Sets that this entity is a baby.

Vanilla Entities that use this

minecraft:horse, minecraft:zombie_villager, Back to top

minecraft:is_charged

Description

Sets that this entity is charged.

Vanilla Entities that use this

minecraft:creeper, Back to top

minecraft:is_chested

Description

Sets that this entity is currently carrying a chest.

Vanilla Entities that use this

minecraft:llama, minecraft:mule, Back to top

minecraft:is_dyeable

Description

Allows dyes to be used on this entity to change its color.

Parameters

Name Type Default Description
interact_text String The text that will display when interacting with this entity with a dye

Vanilla Entities that use this

minecraft:wolf, Back to top

minecraft:is_ignited

Description

Sets that this entity is currently on fire.

Vanilla Entities that use this

minecraft:tnt_minecart, Back to top

minecraft:is_saddled

Description

Sets that this entity is currently saddled.

Vanilla Entities that use this

minecraft:horse, minecraft:pig, Back to top

minecraft:is_shaking

Description

Sets that this entity is currently shaking.

Vanilla Entities that use this

minecraft:zombie_villager, Back to top

minecraft:is_sheared

Description

Sets that this entity is currently sheared.

Vanilla Entities that use this

minecraft:snow_golem, Back to top

minecraft:is_stackable

Description

Sets that this entity can be stacked.

Vanilla Entities that use this

minecraft:tnt_minecart, Back to top

minecraft:is_tamed

Description

Sets that this entity is currently tamed.

Vanilla Entities that use this

minecraft:horse, minecraft:zombie_horse, Back to top

minecraft:item_controllable

Description

Defines what items can be used to control this entity while ridden

Parameters

Name Type Default Description
control_items List List of items that can be used to control this entity

Vanilla Entities that use this

minecraft:pig, Back to top

minecraft:loot

Description

Sets the loot table for what items this entity drops upon death.

Parameters

Name Type Default Description
table String The path to the loot table, relative to the Behavior Pack's root

Vanilla Entities that use this

minecraft:horse, minecraft:evocation_illager, minecraft:zombie_villager, Back to top

minecraft:mark_variant

Description

Additional variant value. Can be used to further differentiate variants. Back to top

minecraft:push_through

Description

Sets the distance through which the entity can push through. Back to top

minecraft:scale

Description

Sets the entity's visual size.

Parameters

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

Vanilla Entities that use this

minecraft:llama, minecraft:zombie_villager, Back to top

minecraft:sound_volume

Description

Sets the entity's base volume for sound effects. Back to top

minecraft:type_family

Description

Defines the families this entity belongs to.

Parameters

Name Type Default Description
family List List of family names

Vanilla Entities that use this

minecraft:horse, minecraft:evocation_illager, minecraft:zombie_villager, Back to top

minecraft:variant

Description

Used to differentiate the component group of a variant of an entity from others (e.g. ocelot, villager)

Parameters

Name Type Default Description
value Integer 1 The ID of the variant. By convention, 0 is the ID of the base entity

Vanilla Entities that use this

minecraft:llama, minecraft:zombie_villager, Back to top

minecraft:walk_animation_speed

Description

Sets the speed multiplier for this entity's walk animation speed. Back to top

minecraft:wants_jockey

Description

Sets that this entity wants to become a jockey. Back to top

Attributes

minecraft:attack

Description

Defines an entity's melee attack and any additional effects on it.

Parameters

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

Vanilla Entities that use this

minecraft:zombie_villager, Back to top

minecraft:spell_effects

Description

Defines what mob effects to add and remove to the entity when adding this component.

Parameters

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

Vanilla Entities that use this

minecraft:zombie_villager, Back to top

minecraft:strength

Description

Defines the entity's strength to carry items

Vanilla Entities that use this

minecraft:llama, Back to top

Components

minecraft:addrider

Description

Adds a rider to the entity. Requires minecraft:rideable.

Parameters

Name Type Default Description
entity_type String The entity type that will be riding this entity.

Vanilla Entities that use this

minecraft:spider, Back to top

minecraft:ageable

Description

Adds a timer for the entity to grow up. It can be accelerated by giving the entity the items it likes as defined by feedItems.

Parameters

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

Vanilla Entities that use this

minecraft:horse, minecraft:villager, Back to top

minecraft:angry

Description

Defines the entity's 'angry' state using a timer.

Parameters

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'

Vanilla Entities that use this

minecraft:llama, minecraft:zombie_pigman, Back to top

minecraft:boostable

Description

Defines the conditions and behavior of a rideable entity's boost

Parameters

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

Vanilla Entities that use this

minecraft:pig, Back to top

minecraft:breathable

Description

Defines what blocks this entity can breathe in and gives them the ability to suffocate

Parameters

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

Vanilla Entities that use this

minecraft:horse, minecraft:evocation_illager, minecraft:zombie_villager, Back to top

minecraft:breedable

Description

Defines the way an entity can get into the 'love' state.

Parameters

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

Vanilla Entities that use this

minecraft:horse, minecraft:pig, Back to top

minecraft:damage_sensor

Description

Defines what events to call when this entity is damaged by specific entities or items

Parameters

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

Vanilla Entities that use this

minecraft:llama, minecraft:villager, Back to top

minecraft:environment_sensor

Description

Creates a trigger based on environment conditions.

Parameters

Name Type Default Description
on_environment Trigger The list of triggers that fire when the environment conditions match the given filter criteria.

Vanilla Entities that use this

minecraft:spider, Back to top

minecraft:equippable

Description

Defines an entity's behavior for having items equipped to it

Parameters

Name Type Default Description
slots String List of slots and the item that can be equipped

Vanilla Entities that use this

minecraft:horse, minecraft:mule, Back to top

minecraft:explode

Description

Defines how the entity explodes.

Parameters

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

Vanilla Entities that use this

minecraft:wither_skull_dangerous, Back to top

minecraft:healable

Description

Defines the interactions with this entity for healing it.

Parameters

Name Type Default Description
items String The list of items that can be used to heal this entity

Vanilla Entities that use this

minecraft:horse, minecraft:mule, Back to top

minecraft:interact

Description

Defines interactions with this entity.

Parameters

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

Vanilla Entities that use this

minecraft:llama, minecraft:zombie_villager, Back to top

minecraft:inventory

Description

Defines this entity's inventory properties.

Parameters

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

Vanilla Entities that use this

minecraft:horse, minecraft:villager, Back to top

minecraft:item_hopper

Description

Determines that this entity is an item hopper

Vanilla Entities that use this

minecraft:hopper_minecart, Back to top

minecraft:jump.dynamic

Description

Defines a dynamic type jump control that will change jump properties based on the speed modifier of the mob.

Vanilla Entities that use this

minecraft:rabbit, Back to top

minecraft:jump.static

Description

Gives the entity the ability to jump.

Vanilla Entities that use this

minecraft:horse, minecraft:evocation_illager, minecraft:zombie_villager, Back to top

minecraft:leashable

Description

Allows this entity to be leashed and Defines the conditions and events for this entity when is leashed.

Parameters

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

Vanilla Entities that use this

minecraft:horse, minecraft:zombie_horse, Back to top

minecraft:lookat

Description

Defines the behavior when another entity looks at this entity.

Parameters

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

Vanilla Entities that use this

minecraft:enderman, Back to top

minecraft:movement.basic

Description

This component accents the movement of an entity.

Parameters

Name Type Default Description
max_turn Decimal 30 The maximum number in degrees the mob can turn per tick.

Vanilla Entities that use this

minecraft:horse, minecraft:evocation_illager, minecraft:zombie_villager, Back to top

minecraft:movement.jump

Description

Move control that causes the mob to jump as it moves with a specified delay between jumps.

Parameters

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.

Vanilla Entities that use this

minecraft:slime, Back to top

minecraft:movement.skip

Description

This move control causes the mob to hop as it moves.

Parameters

Name Type Default Description
max_turn Decimal 30 The maximum number in degrees the mob can turn per tick.

Vanilla Entities that use this

minecraft:rabbit, Back to top

minecraft:movement.sway

Description

This move control causes the mob to sway side to side giving the impression it is swimming.

Parameters

Name Type Default Description
max_turn Decimal 30 The maximum number in degrees the mob can turn per tick.

Vanilla Entities that use this

minecraft:guardian, Back to top

minecraft:nameable

Description

Allows this entity to be named (e.g. using a name tag)

Parameters

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
Back to top

minecraft:navigation.climb

Description

Describes to the mobs pathfinder how it can generate paths.

Parameters

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

Vanilla Entities that use this

minecraft:spider, Back to top

minecraft:navigation.float

Description

Describes to the mobs pathfinder how it can generate paths.

Parameters

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

Vanilla Entities that use this

minecraft:ghast, Back to top

minecraft:navigation.swim

Description

Describes to the mobs pathfinder how it can generate paths.

Parameters

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

Vanilla Entities that use this

minecraft:guardian, Back to top

minecraft:navigation.walk

Description

Describes to the mobs pathfinder how it can generate paths.

Parameters

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

Vanilla Entities that use this

minecraft:horse, minecraft:evocation_illager, minecraft:zombie_villager, Back to top

minecraft:peek

Description

Defines the entity's 'peek' behavior, defining the events that should be called during it

Parameters

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

Vanilla Entities that use this

minecraft:shulker, Back to top

minecraft:projectile

Description

Allows the entity to be a thrown entity.

Parameters

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

Vanilla Entities that use this

minecraft:arrow, minecraft:xp_bottle, Back to top

minecraft:rail_movement

Description

Defines the entity's movement on the rails. An entity with this component is only allowed to move on the rail.

Parameters

Name Type Default Description
max_speed Decimal 0 Maximum speed that this entity will move at when on the rail

Vanilla Entities that use this

minecraft:tnt_minecart, Back to top

minecraft:rail_sensor

Description

Defines the behavior of the entity when the rail gets activated or deactivated.

Parameters

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

Vanilla Entities that use this

minecraft:tnt_minecart, Back to top

minecraft:rideable

Description

Determines whether this entity can be ridden. Allows specifying the different seat positions and quantity.

Parameters

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

Vanilla Entities that use this

minecraft:horse, minecraft:zombie_villager, Back to top

minecraft:scale_by_age

Description

Defines the entity's size interpolation based on the entity's age.

Parameters

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

Vanilla Entities that use this

minecraft:horse, minecraft:mule, Back to top

minecraft:shareables

Description

Defines a list of items the mob wants to share.

Vanilla Entities that use this

minecraft:villager, Back to top

minecraft:shooter

Description

Defines the entity's ranged attack behavior.

Parameters

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

Vanilla Entities that use this

minecraft:llama, minecraft:shulker, Back to top

minecraft:sittable

Description

Defines the entity's 'sit' state.

Parameters

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

Vanilla Entities that use this

minecraft:wolf, Back to top

minecraft:spawn_entity

Description

Adds a timer after which this entity will spawn another entity or item (similar to vanilla's chicken's egg-laying behavior.

Parameters

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

Vanilla Entities that use this

minecraft:chicken, Back to top

minecraft:tameable

Description

Defines the rules for a mob to be tamed by the player.

Parameters

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

Vanilla Entities that use this

minecraft:wolf, Back to top

minecraft:tamemount

Description

Allows the Entity to be tamed by mounting it.

Parameters

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

Vanilla Entities that use this

minecraft:horse, minecraft:mule, Back to top

minecraft:target_nearby_sensor

Description

Defines the entity's range within which it can see or sense other entities to target them.

Parameters

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

Vanilla Entities that use this

minecraft:guardian, Back to top

minecraft:teleport

Description

Defines an entity's teleporting behavior.

Parameters

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

Vanilla Entities that use this

minecraft:enderman, Back to top

minecraft:timer

Description

Adds a timer after which an event will fire.

Parameters

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

Vanilla Entities that use this

minecraft:guardian, Back to top

minecraft:trade_table

Description

Defines this entity's ability to trade with players.

Parameters

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

Vanilla Entities that use this

minecraft:villager, Back to top

minecraft:transformation

Description

Defines an entity's transformation from the current definition into another

Parameters

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

Vanilla Entities that use this

minecraft:zombie_villager, Back to top

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.
Back to top

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.
Back to top

Environment Filter Conditions

Condition Description
surface
altitude_greater
underground
altitude_less
brightness_greater
brightness_less
night
day
biome
Back to top

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
Back to top