Entity component and AI goal index
The full list of the 206 entity components and 182 AI goals in MS Learn (MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0). Select an ID to go to its entry. Events, filters and triggers are in Entity events, filters and triggers.
Components (206)
| ID | Description |
|---|---|
| minecraft:addrider | Adds a rider to the entity. |
| minecraft:admire_item | Allows an entity to ignore attackable targets for a given duration. |
| minecraft:ageable | Adds a timer for the entity to grow up. It can be accelerated by giving the entity the items it likes as defined by feed_items. |
| minecraft:ambient_sound_interval | Delay for an entity playing its sound. |
| minecraft:anger_level | Compels the entity to track anger towards a set of nuisances. |
| minecraft:angry | Defines an entity's 'angry' state using a timer. |
| minecraft:annotation.break_door | Allows an entity to break doors, assuming that that flags set up for the component to use in navigation. |
| minecraft:annotation.open_door | Allows the entity to open doors. |
| minecraft:apply_knockback_rules | Defines how an entity applies knockback. |
| minecraft:apply_knockback_rules_instance | Intance of rules definition. |
| minecraft:area_attack | A component that does damage to entities that get within range. |
| minecraft:attack | Defines an entity's melee attack damage and any additional status effects applied on hit. Typical damage values range from 3 (zombie, creeper) to 7-21 (iron golem). |
| minecraft:attack_cooldown | Adds a cooldown to an entity. The intention of this cooldown is to be used to prevent the entity from attempting to acquire new attack targets. |
| minecraft:attack_damage | Specifies how much damage is dealt by the entity when it attacks. |
| minecraft:balloonable | Allows this entity to have a balloon attached and defines the conditions and events for this entity when is ballooned. |
| minecraft:barter | Enables the component to drop an item as a barter exchange. |
| minecraft:block_climber | Allows the player to detect and manuever on the scaffolding block. |
| minecraft:block_movement_slowdown_immunity | Prevents specified blocks from contributing to this entity's block movement slowdown. It does not cause other blocks to apply slowdown. |
| minecraft:block_sensor | Fires off a specified event when a block in the block list is broken within the sensor range. |
| minecraft:body_rotation_always_follows_head | Causes the entity's body rotation to match the one of their head. |
| minecraft:body_rotation_axis_aligned | Causes the entity's body to automatically rotate to align with the nearest cardinal direction based on its current facing direction. |
| minecraft:body_rotation_blocked | When set, the entity will no longer visually rotate their body to match their facing direction. |
| minecraft:body_rotation_locked_to_vehicle | Causes the entity's body rotation to match their vehicle's facing direction. |
| minecraft:boostable | Defines the conditions and behavior of a rideable entity's boost. |
| minecraft:boss | Defines the current state of the boss for updating the boss HUD. |
| minecraft:break_blocks | Specifies the blocks that the entity can break as it moves around. |
| minecraft:breathable | Defines what blocks this entity can breathe in and gives them the ability to suffocate. |
| minecraft:breedable | Allows an entity to establish a way to get into the love state used for breeding. |
| minecraft:bribeable | Defines the way an entity can get into the 'bribed' state. |
| minecraft:buoyant | Enables an entity to float on the specified liquid blocks. |
| minecraft:burns_in_daylight | Specifies that this entity takes fire damage when exposed to direct sunlight. This component is used by undead mobs like zombies, skeletons, and phantoms. The entity will catch fire when in sunlight unless it is wearing armor in the protection slot, standing in water, or in a shaded area. |
| minecraft:can_climb | Allows an entity to climb ladders. |
| minecraft:can_fly | Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it. |
| minecraft:can_join_raid | Specifies if an entity can join a raid. |
| minecraft:can_power_jump | Allows the entity to power jump like the Horse does in Vanilla. |
| minecraft:cannot_be_attacked | When set, blocks entities from attacking the owner entity unless they have the "minecraft:ignore_cannot_be_attacked" component. |
| minecraft:celebrate_hunt | Specifies hunt celebration behaviour. |
| minecraft:collision_box | Sets the width and height of the Entity's collision box. |
| minecraft:color | Defines the entity's main color. |
| minecraft:color2 | Defines the entity's second texture color. |
| minecraft:combat_regeneration | Gives Regeneration I and removes Mining Fatigue from the mob that kills the entity's attack target. |
| minecraft:conditional_bandwidth_optimization | Defines the Conditional Spatial Update Bandwidth Optimizations of this entity. |
| minecraft:custom_hit_test | List of hitboxes for melee and ranged hits against the entity. |
| minecraft:damage_over_time | Applies defined amount of damage to the entity at specified intervals. |
| minecraft:damage_sensor | Defines what events to call when this entity is damaged by specific entities or items. |
| minecraft:dash | Ability for a rideable entity to dash. |
| minecraft:dash_action | Ability for a rideable entity to dash. |
| minecraft:default_look_angle | Sets this entity's default head rotation angle. |
| minecraft:despawn | Despawns the Actor when the despawn rules or optional filters evaluate to true. |
| minecraft:dimension_bound | Prevents the entity from changing dimension through portals. |
| minecraft:drying_out_timer | Adds a timer for drying out that will count down and fire 'dried_out_event' or will stop as soon as the entity will get under rain or water and fire 'stopped_drying_out_event'. |
| minecraft:dweller | Compels an entity to join and migrate between villages and other dwellings. |
| minecraft:economy_trade_table | Defines this entity's ability to trade with players. |
| minecraft:entity_armor_equipment_slot_mapping | It defines to which armor slot an item equipped to 'minecraft:equippable''s second slot should be equipped to. It is automatically applied to all entities for worlds with a version greater than or equal to 1.21.10. For older worlds, 'slot.armor.torso' will be used. It is strongly advised not to explicitly use this component, as no backwards compatibility for it will be provided. |
| minecraft:entity_sensor | A component that owns multiple subsensors, each one firing an event when a set of conditions are met by other entities within the defined range. |
| minecraft:environment_sensor | Creates a trigger based on environment conditions. |
| minecraft:equip_item | The entity puts on the desired equipment. |
| minecraft:equipment | Sets the Equipment table to use for this Entity. |
| minecraft:equippable | Defines an entity's behavior for having items equipped to it. |
| minecraft:exhaustion_values | Defines how much exhaustion each player action should take. |
| minecraft:experience_reward | The original has no description. See the property table. |
| minecraft:explode | Defines how the entity explodes. |
| minecraft:fire_immune | Sets that this entity doesn't take damage from fire. |
| minecraft:floats_in_liquid | Sets that this entity can float in liquid blocks. |
| minecraft:flocking | Allows entities to flock in groups in water or not. |
| minecraft:flying_speed | Speed in Blocks that this entity flies at. |
| minecraft:follow_range | Defines the maximum range, in blocks, that a mob will pursue a target. This affects AI behaviors like chasing players or attacking. |
| minecraft:free_camera_controlled | When configured as a rideable entity, the entity will be controlled using WASD controls and mouse to move in three dimensions. |
| minecraft:friction_modifier | Defines how much friction affects this entity. |
| minecraft:game_event_movement_tracking | Allows an entity to emit entityMove, swim and flap game events, depending on the block the entity is moving through. It is added by default to every mob. Add it again to override its behavior. |
| minecraft:genetics | Defines the way a mob's genes and alleles are passed on to its offspring, and how those traits manifest in the child. Compatible parent genes are crossed together, the alleles are handed down from the parents to the child, and any matching genetic variants fire off JSON events to modify the child and express the traits. |
| minecraft:giveable | Defines sets of items that can be used to trigger events when used on this entity. The item will also be taken and placed in the entity's inventory. |
| minecraft:ground_offset | Sets the offset from the ground that the entity is actually at. |
| minecraft:group_size | Keeps track of entity group size in the given radius. |
| minecraft:grows_crop | Could increase crop growth when entity walks over crop. |
| minecraft:healable | How entities heal. |
| minecraft:health | Defines the health pool for an entity, measured in health points (1 point = half a heart). Typical values: cow (10), zombie (20), iron golem (100), wither (600). |
| minecraft:heartbeat | Defines the entity's heartbeat. |
| minecraft:hide | Moves to and hides at their owned POI or the closest nearby. |
| minecraft:home | Saves a home position for when the entity is spawned. This component allows entities like bees to remember and return to a specific location such as a hive or nest. |
| minecraft:horse.jump_strength | Determines the jump height for a horse or similar entity, like a donkey. |
| minecraft:hurt_on_condition | Defines a set of conditions under which an entity should take damage. |
| minecraft:ignore_cannot_be_attacked | Allows the owner entity to ignore the "minecraft:cannot_be_attacked" component on entities that fulfill the filter. |
| minecraft:input_air_controlled | When configured as a rideable entity, the entity will be controlled using WASD controls and mouse to move in three dimensions. |
| minecraft:input_ground_controlled | When configured as a rideable entity, the entity will be controlled using WASD controls. Beginning with 1.19.50 the default auto step height for rideable entities is half a block. Consider adding the "minecraft:variable_max_auto_step" component to increase it. |
| minecraft:inside_block_notifier | Verifies whether the entity is inside any of the listed blocks. |
| minecraft:insomnia | Adds a timer since last rested to see if phantoms should spawn. |
| minecraft:instant_despawn | Despawns the Actor immediately. |
| minecraft:interact | Defines interactions with this entity. |
| minecraft:inventory | Defines this entity's inventory properties. |
| minecraft:is_baby | Sets that this entity is a baby. This is used to set the is_baby value for use in query functions like Molang and Filters. |
| minecraft:is_charged | Sets that this entity is charged. This is used to set the is_charged value for use in query functions like Molang and Filters. |
| minecraft:is_chested | Sets that this entity is currently carrying a chest. |
| minecraft:is_collidable | Allows other mobs to have vertical and horizontal collisions with this mob. For a collision to occur, both mobs must have a "minecraft:collision_box" component. This component can only be used on mobs and enables collisions exclusively between mobs. |
| minecraft:is_dyeable | Allows dyes to be used on this entity to change its color. |
| minecraft:is_hidden_when_invisible | The entity can hide from hostile mobs while invisible. |
| minecraft:is_ignited | Sets that this entity is currently on fire. |
| minecraft:is_illager_captain | Sets that this entity is an Illager Captain. |
| minecraft:is_pregnant | Sets that this entity is currently pregnant. |
| minecraft:is_saddled | Sets that this entity is currently saddled. |
| minecraft:is_shaking | Sets that this entity is currently shaking. |
| minecraft:is_sheared | Sets that this entity is currently sheared. |
| minecraft:is_stackable | Allows instances of this entity to have vertical and horizontal collisions with each other. For a collision to occur, both instances must have a "minecraft:collision_box" component. |
| minecraft:is_stunned | Sets that this entity is currently stunned. |
| minecraft:is_tamed | Sets that this entity is currently tamed. |
| minecraft:item_controllable | Defines what items can be used to control this entity while ridden. |
| minecraft:item_hopper | Determines that this entity is an item hopper. |
| minecraft:jump.dynamic | Defines a dynamic type jump control that will change jump properties based on the speed modifier of the mob.Requires minecraft:movement.skip to be used. |
| minecraft:jump.static | Gives the entity the ability to jump. |
| minecraft:knockback_resistance | Determines an entity's resistance to knockback from melee attacks. A value of 0.0 means no resistance, while 1.0 provides full immunity to knockback (like iron golems). |
| minecraft:lava_movement | Allows a custom movement speed across lava blocks. |
| minecraft:leashable | Describes how this mob can be leashed to other items. |
| minecraft:leashable_to | Allows players to leash entities to this entity, retrieve entities already leashed to it, or free them using shears. For the last interaction to work, the leashed entities must have "can_be_cut" set to true in their "minecraft:leashable" component. |
| minecraft:looked_at | Defines the behavior when another entity looks at the owner entity. |
| minecraft:loot | Specifies the loot table that determines what items this entity drops upon death. The table path is relative to the behavior pack's root folder. |
| minecraft:managed_wandering_trader | Manages the entity's ability to trade. |
| minecraft:mark_variant | Mark Variant is typically used as an additional per-type way (besides variant) to express a different visual form of the same mob. |
| minecraft:mob_effect | A component that applies a mob effect to entities that get within range. |
| minecraft:mob_effect_immunity | Entities with this component will have an immunity to the provided mob effects. |
| minecraft:movement | Defines the base movement speed of an entity. Typical values: creeper (0.2), cow (0.25), zombie baby (0.35). |
| minecraft:movement.amphibious | This move control allows the mob to swim in water and walk on land. |
| minecraft:movement.basic | This component accents the movement of an entity. |
| minecraft:movement.dolphin | This component can control how dolphins move, in a dolphin-esque style. |
| minecraft:movement.fly | This move control causes the mob to fly. |
| minecraft:movement.generic | This move control allows a mob to fly, swim, climb, etc. |
| minecraft:movement.glide | Move control for a flying mob that has a gliding movement. |
| minecraft:movement.hover | This move control causes the mob to hover. |
| minecraft:movement.jump | Move control that causes the mob to jump as it moves with a specified delay between jumps. |
| minecraft:movement.skip | This move control causes the mob to hop as it moves. |
| minecraft:movement.sound_distance_offset | Sets the offset used to determine the next step distance for playing a movement sound. |
| minecraft:movement.sway | This move control causes the mob to sway side to side giving the impression it is swimming. |
| minecraft:nameable | Allows this entity to be named (e.g. using a name tag). |
| minecraft:navigation.climb | Allows this entity to generate paths that include vertical walls like the vanilla Spiders do. |
| minecraft:navigation.float | Allows this entity to generate paths by flying around the air like the regular Ghast. |
| minecraft:navigation.fly | Allows this entity to generate paths in the air like the vanilla Parrots do. |
| minecraft:navigation.generic | Allows this entity to generate paths by walking, swimming, flying and/or climbing around and jumping up and down a block. |
| minecraft:navigation.hover | Allows this entity to generate paths in the air like the vanilla Bees do. Keeps them from falling out of the skies and doing predictive movement. |
| minecraft:navigation.swim | Allows this entity to generate paths that include water. |
| minecraft:navigation.walk | Walking style of the mob. |
| minecraft:offspring | Defines the way an entity can create a born offspring. |
| minecraft:out_of_control | Defines the entity's 'out of control' state. |
| minecraft:peek | Defines the entity's 'peek' behavior, defining the events that should be called during it. |
| minecraft:persistent | Defines whether an entity should be persistent in the game world. |
| minecraft:physics | Defines physics properties of an actor, including if it is affected by gravity or if it collides with objects. |
| minecraft:player.exhaustion | Defines the player's exhaustion level. |
| minecraft:player.experience | Defines how much experience each player action should take. |
| minecraft:player.level | Defines the player's level. |
| minecraft:player.saturation | Defines the player's need for food. |
| minecraft:preferred_path | Specifies costing information for mobs that prefer to walk on preferred paths. |
| minecraft:projectile | Turns the entity into a projectile: a thrown or shot entity that flies along a ballistic arc and reacts when it impacts a block, a fluid, or another entity. |
| minecraft:push_through | Sets the distance through which the entity can push through. |
| minecraft:pushable | Defines what can push an entity between other entities and pistons. |
| minecraft:pushable_by_block | Allows the entity to be pushed by certain blocks, like Shulker Boxes and Pistons. |
| minecraft:pushable_by_entity | Allows an entity to be pushed by other entities. |
| minecraft:raid_trigger | Attempts to trigger a raid at the entity's location. |
| minecraft:rail_movement | Defines the entity's movement on the rails. An entity with this component is only allowed to move on the rail. |
| minecraft:rail_sensor | Enables minecart-type entities to detect powered rails and respond to activation state changes. Triggers events when the entity passes over activated or deactivated rails, enabling custom minecart behaviors like launching at boosted speed, stopping at braking rails, or triggering special effects at detector rails. |
| minecraft:ravager_blocked | Defines the ravager's response to their melee attack being blocked. |
| minecraft:reflect_projectiles | [EXPERIMENTAL] Allows an entity to reflect projectiles. |
| minecraft:remove_in_peaceful | Denotes entities that are not allowed to exist in "Peaceful" difficulty. |
| minecraft:renders_when_invisible | When set, the entity will render even when invisible. Appropriate rendering behavior can then be specified in the corresponding "minecraft:client_entity". |
| minecraft:rideable | This entity can be ridden. |
| minecraft:rotation_axis_aligned | Causes the entity to automatically rotate to align with the nearest cardinal direction based on its current facing direction. |
| minecraft:rotation_locked_to_vehicle | Causes the entity's rotation to match their vehicle's facing direction. |
| minecraft:scaffolding_climber | [!IMPORTANT] |
| minecraft:scale | Sets the entity's visual size multiplier. A value of 1.0 means normal size, 0.5 is half size (commonly used for baby mobs), and values above 1.0 make the entity larger. |
| minecraft:scale_by_age | Defines the entity's size interpolation based on the entity's age. |
| minecraft:scheduler | Fires off scheduled mob events at time of day events. |
| minecraft:shareables | Defines a list of items the mob wants to share or pick up. Items can be configured with optional parameters to control pickup, sharing, and inventory behavior. |
| minecraft:shooter | Defines the entity's ranged attack behavior. The "minecraft:behavior.ranged_attack" goal uses this component to determine which projectiles to shoot. |
| minecraft:sittable | Defines the entity's 'sit' state. |
| minecraft:skin_id | Skin ID value. Can be used to differentiate skins, such as base skins for villagers. |
| minecraft:sound_volume | Sets the entity's base volume for sound effects. |
| minecraft:spawn_egg_interaction | Enables interacting with this entity using its own spawn egg to spawn a born child. Runs the "minecraft:entity_born" event on the created entity as well as the defined "on_spawn" event. |
| minecraft:spawn_entity | Adds a timer after which this entity will spawn another entity or item (similar to vanilla's chicken's egg-laying behavior). |
| minecraft:spawn_on_death | Component for spawning entities when an entity perishes. |
| minecraft:spell_effects | Allows an entity to add or remove status effects from itself. Similarly to addrider, this component performs a one-time operation on the entity when added. Removing the component will not change the entity's current effects. Adding different versions of the component multiple times will perform each one in turn. Once the component has been added, it will not provide any further functionality. There is one exception to this behavior: if this component is present on a player, its effects will be re-applied every time the player enters the world. To avoid this, remove the component shortly after adding it, or add an empty component to replace it. |
| minecraft:strength | Defines the strength of this entity. |
| minecraft:suspect_tracking | Allows this entity to remember suspicious locations. |
| minecraft:tameable | This entity can be tamed. |
| minecraft:tamemount | Allows entities to flock in groups in water or not. |
| minecraft:target_nearby_sensor | Defines the entity's range within which it can see or sense other entities to target them. |
| minecraft:teleport | Defines an entity's teleporting behavior. |
| minecraft:tick_world | Defines if the entity ticks the world and the radius around it to tick. |
| minecraft:timer | Adds a timer after which an event will fire. |
| minecraft:trade_resupply | Resupplies an entity's trade. |
| minecraft:trade_table | Defines this entity's ability to trade with players. |
| minecraft:trail | Causes an entity to leave a trail of blocks as it moves about the world. Obeys Mob Griefing rules. |
| minecraft:trail_placement_conditions_entry | The original has no description. See the property table. |
| minecraft:transformation | Defines an entity's transformation from the current definition into another. |
| minecraft:transient | An entity with this component will NEVER persist, and forever disappear when unloaded. |
| minecraft:trust | Allows this entity to trust multiple players. |
| minecraft:trusting | Defines the rules for a mob to trust players. |
| minecraft:type_family | Defines the family categories this entity belongs to. Type families are used by filters and other game systems to group entities (e.g., 'mob', 'monster', 'undead', 'zombie'). |
| minecraft:underwater_mount_breathing | Pauses this entity's breathing under water. |
| minecraft:underwater_movement | Defines the speed with which an entity can move through water. |
| minecraft:uses_legacy_friction | When set, legacy calculations are used when applying "minecraft:friction_modifier". This component is automatically added to legacy content to preserve existing behavior. The legacy calculations are incorrect and should not be used for new content. |
| minecraft:variable_max_auto_step | Entities with this component will have a maximum auto step height that is different depending on whether they are on a block that prevents jumping. Incompatible with "runtime_identifier": "minecraft:horse". |
| minecraft:variant | Variant is typically used as a per-type way to express a different visual form of the same mob. For example, for cats, variant is a number that defines the breed of cat. |
| minecraft:vertical_movement_action | When configured as a rideable entity, the entity will move upwards or downwards when the player uses the jump action. |
| minecraft:vibration_damper | Vibrations emitted by an entity with this component will be ignored. |
| minecraft:vibration_listener | Allows the entity to listen to vibration events. This is a largely-internal component, that is only supported on the Warden and Allay mobs. |
| minecraft:walk_animation_speed | Sets the speed multiplier for this entity's walk animation speed. |
| minecraft:wants_jockey | Sets that this entity wants to become a jockey. |
| minecraft:water_movement | Customizes how the entity moves through water by adjusting drag coefficient. Lower values let entities glide through water easily like fish, while higher values create resistance for entities that struggle in water. Essential for aquatic mobs, boats, and any entity needing custom underwater physics. |
| minecraft:wither_target_highest_damage | Allows the wither to focus its attacks on whichever mob has dealt the most damage to it. |
AI goals (182)
| ID | Description |
|---|---|
| minecraft:behavior.admire_item | Enables the mob to admire items that have been configured as admirable. |
| minecraft:behavior.aquatic_charge_attack | Enables an aquatic mob to dash at its target with knockback; includes overshoot and cooldown settings. |
| minecraft:behavior.avoid_block | Allows this entity to avoid certain blocks. |
| minecraft:behavior.avoid_mob_type | Allows the entity to run away from other entities that meet the criteria specified. |
| minecraft:behavior.barter | Enables the mob to barter for items that have been configured as barter currency. Must be used in combination with the barter component. |
| minecraft:behavior.beg | Allows this mob to look at and follow the player that holds food they like. |
| minecraft:behavior.break_door | Allows this mob to break doors. |
| minecraft:behavior.breed | Allows this mob to breed with other mobs. |
| minecraft:behavior.celebrate | Allows this entity to celebrate surviving a raid by making celebration sounds and jumping. |
| minecraft:behavior.celebrate_survive | Allows the player to trade with this mob. When the goal starts, it will stop the mob's navigation. |
| minecraft:behavior.charge_attack | Allows this entity to damage a target by using a running attack. |
| minecraft:behavior.charge_held_item | Allows an entity to charge and use their held item. |
| minecraft:behavior.circle_around_anchor | Causes an entity to circle around an anchor point placed near a point or target. |
| minecraft:behavior.controlled_by_player | Allows the entity to be controlled by the player using an item in the item_controllable property (required). On every tick, the entity will attempt to rotate towards where the player is facing with the control item whilst simultaneously moving forward. |
| minecraft:behavior.croak | Allows the entity to croak at a random time interval with configurable conditions. |
| minecraft:behavior.defend_trusted_target | Allows the mob to target another mob that hurts an entity it trusts. |
| minecraft:behavior.defend_village_target | Allows the entity to stay in a village and defend the village from aggressors. If a player is in bad standing with the village this goal will cause the entity to attack the player regardless of filter conditions. |
| minecraft:behavior.delayed_attack | Allows an entity to attack, while also delaying the damage-dealt until a specific time in the attack animation. |
| minecraft:behavior.dig | Allows this entity to dig into the ground before despawning. |
| minecraft:behavior.door_interact | Allows the mob to open and close doors. |
| minecraft:behavior.dragonchargeplayer | Allows this entity to attack a player by charging at them. The player is chosen by the "minecraft:behavior.dragonscanning". |
| minecraft:behavior.dragondeath | Allows the dragon to go out with glory. This controls the Ender Dragon's death animation. |
| minecraft:behavior.dragonflaming | Allows this entity to use a flame-breath attack. |
| minecraft:behavior.dragonholdingpattern | Allows the Dragon to fly around in a circle around the center podium. |
| minecraft:behavior.dragonlanding | Allows the Dragon to stop flying and transition into perching mode. |
| minecraft:behavior.dragonscanning | Allows the dragon to look around for a player to attack while in perch mode. |
| minecraft:behavior.dragonstrafeplayer | Allows this entity to fly around looking for a player to shoot fireballs at. |
| minecraft:behavior.dragontakeoff | Allows the dragon to leave perch mode and go back to flying around. |
| minecraft:behavior.drink_milk | Allows the mob to drink milk based on specified environment conditions. |
| minecraft:behavior.drink_potion | Allows the mob to drink potions based on specified environment conditions. |
| minecraft:behavior.drop_item_for | Allows the entity to move toward a target, and drop an item near the target. |
| minecraft:behavior.eat_block | Allows the entity to consume a block, replace the eaten block with another block, and trigger an event as a result. |
| minecraft:behavior.eat_carried_item | If the mob is carrying a food item, the mob will eat it and the effects will be applied to the mob. |
| minecraft:behavior.eat_mob | Allows the entity to eat a specified Mob. |
| minecraft:behavior.emerge | Allows this entity to emerge from the ground. |
| minecraft:behavior.enderman_leave_block | Allows the enderman to drop a block they are carrying. |
| minecraft:behavior.enderman_take_block | Allows the enderman to take a block and carry it around. |
| minecraft:behavior.equip_item | The entity puts on the desired equipment. |
| minecraft:behavior.explore_outskirts | Allows the entity to first travel to a random point on the outskirts of the village, and then explore random points within a small distance. |
| minecraft:behavior.fertilize_farm_block | Allows the mob to search within an area for a growable crop block. If found, the mob will use any available fertilizer in their inventory on the crop. This goal will not execute if the mob does not have a fertilizer item in its inventory. |
| minecraft:behavior.find_cover | Allows the mob to seek shade. |
| minecraft:behavior.find_mount | Allows the mob to look around for another mob to ride atop it. |
| minecraft:behavior.find_underwater_treasure | Allows the mob to move towards the nearest underwater ruin or shipwreck. |
| minecraft:behavior.fire_at_target | Allows an entity to attack by firing a shot with a delay. Anchor and offset parameters of this component overrides the anchor and offset from projectile component. |
| minecraft:behavior.flee_sun | Allows the mob to run away from direct sunlight and seek shade. |
| minecraft:behavior.float | Allows the mob to stay afloat while swimming. Passengers will be kicked out the moment the mob's head goes underwater, which may not happen for tall mobs. |
| minecraft:behavior.float_tempt | Allows a mob to be tempted by a player holding a specific item. Uses point-to-point movement. Designed for mobs that are floating (e.g. use the "minecraft:navigation.float" component). |
| minecraft:behavior.float_wander | Allows the mob to float around like the Ghast. |
| minecraft:behavior.follow_caravan | Allows the mob to follow mobs that are in a caravan. |
| minecraft:behavior.follow_mob | Allows the mob to follow other mobs. |
| minecraft:behavior.follow_owner | Allows a mob to follow the player that owns it. |
| minecraft:behavior.follow_parent | Allows the mob to follow their parent around. |
| minecraft:behavior.follow_target_captain | Allows mob to move towards its current target captain. |
| minecraft:behavior.follow_target_leader | Allows mob to move towards its target leader. |
| Dragonfly server patch | The entity will attempt to toss the items from its inventory to a nearby recently played noteblock. |
| Dragonfly server patch | The entity will attempt to toss the items from its inventory to its owner. |
| Dragonfly server patch | Allows the mob to move back to the position they were spawned. |
| minecraft:behavior.guardian_attack | Allows this entity to use a laser beam attack. Can only be used by Guardians and Elder Guardians. |
| minecraft:behavior.harvest_farm_block | Allows the entity to search within an area for farmland with air above it. If found, the entity will replace the air block by planting a seed item from its inventory on the farmland block. This goal will not execute if the entity does not have an item in its inventory. |
| minecraft:behavior.hide | Allows a mob with the hide component to attempt to move to - and hide at - an owned or nearby POI. |
| minecraft:behavior.hold_ground | Compels an entity to stop at their current location, turn to face a mob they are targeting, and react with an event. |
| minecraft:behavior.hover | Allows the mob to hover in place. |
| minecraft:behavior.hurt_by_target | Allows the mob to target another mob that hurts them. |
| minecraft:behavior.inspect_bookshelf | Allows the mob to inspect bookshelves. |
| minecraft:behavior.investigate_suspicious_location | Allows this entity to move towards a "suspicious" position based on data gathered in minecraft:suspect_tracking. |
| minecraft:behavior.jump_around_target | Allows an entity to jump around a target. |
| minecraft:behavior.jump_to_block | Allows an entity to jump to another random block. |
| minecraft:behavior.knockback_roar | Allows the mob to perform a damaging knockback that affects all nearby entities. |
| minecraft:behavior.lay_down | Allows mobs to lay down at times. |
| minecraft:behavior.lay_egg | Allows the mob to lay an egg block on certain types of blocks if the mob is pregnant. |
| minecraft:behavior.leap_at_target | Allows monsters to jump at and attack their target. Can only be used by hostile mobs. |
| minecraft:behavior.look_at_entity | Compels an entity to look at a specific entity by rotating the head bone pose within a set limit. |
| minecraft:behavior.look_at_player | Compels an entity to look at the player by rotating the head bone pose within a set limit. |
| minecraft:behavior.look_at_target | Compels an entity to look at the target by rotating the head bone pose within a set limit. |
| minecraft:behavior.look_at_trading_player | Compels an entity to look at the player that is currently trading with the entity. |
| minecraft:behavior.make_love | Allows the villager to look for a mate to spawn other villagers with. |
| minecraft:behavior.melee_attack | Allows an entity to deal damage through a melee attack. |
| minecraft:behavior.melee_box_attack | Allows an entity to deal damage through a melee attack with reach calculations based on bounding boxes. |
| minecraft:behavior.mingle | Allows an entity to go to the village bell and mingle with other entities. |
| minecraft:behavior.mount_pathing | Allows the mob to move around on its own while mounted seeking a target to attack. Also will allow an entity to target another entity for an attack. |
| minecraft:behavior.move_around_target | Allows an entity to move around a target.If the entity is too close(i.e.closer than destination range min and height difference limit) it will try to move away from its target.If the entity is too far away from its target it will try to move closer to a random position within the destination range.A randomized amount of those positions will be behind the target, and the spread can be tweaked with 'destination_pos_spread_degrees'. |
| minecraft:behavior.move_indoors | Allows this entity to move indoors. |
| minecraft:behavior.move_outdoors | Allows this entity to move outdoors. |
| minecraft:behavior.move_through_village | Can only be used by Villagers. Allows the villagers to create paths around the village. |
| minecraft:behavior.move_to_block | Allows mob to move towards a block. |
| minecraft:behavior.move_to_land | Allows the mob to move back onto land when in water. |
| minecraft:behavior.move_to_lava | [!IMPORTANT] |
| minecraft:behavior.move_to_liquid | Allows the mob to move into a liquid when on land. |
| minecraft:behavior.move_to_poi | Allows the mob to move to a POI if able to. |
| minecraft:behavior.move_to_random_block | Allows mob to move towards a random block. |
| minecraft:behavior.move_to_village | Allows the mob to move into a random location within a village. |
| minecraft:behavior.move_to_water | Allows the mob to move back into water when on land. |
| minecraft:behavior.move_towards_dwelling_restriction | Allows entities with the "minecraft:dweller" component to move toward their village area that the entity should be restricted to. |
| minecraft:behavior.move_towards_home_restriction | Allows entities with a minecraft:home component to move towards their home position. |
| minecraft:behavior.move_towards_restriction | AI goal that drives entities back toward their designated home area when they've wandered too far. Works with components like minecraft:home to define the restriction zone. Used for village-bound mobs, territorial creatures, or any entity that should patrol or return to a specific location. |
| minecraft:behavior.move_towards_target | Allows mob to move towards its current target. |
| minecraft:behavior.nap | Allows mobs to occassionally stop and take a nap under certain conditions. |
| minecraft:behavior.nearest_attackable_target | Allows an entity to attack the closest target within a given subset of specific target types. |
| minecraft:behavior.nearest_prioritized_attackable_target | Allows the mob to check for and pursue the nearest valid target. |
| minecraft:behavior.ocelot_sit_on_block | Allows to mob to be able to sit in place like the ocelot. |
| minecraft:behavior.ocelotattack | Controls specific attack behavior for Ocelots. |
| minecraft:behavior.offer_flower | Allows the mob to offer a flower to another mob with the minecraft:take_flower behavior. |
| minecraft:behavior.open_door | Allows the mob to open doors. Requires the mob to be able to path through doors, otherwise the mob won't even want to try opening them. |
| minecraft:behavior.owner_hurt_by_target | Allows the mob to target another mob that hurts their owner. |
| minecraft:behavior.owner_hurt_target | Allows the mob to target a mob that is hurt by their owner. |
| minecraft:behavior.panic | Allows a mob to panic when receiving damage, making it run around and away from the damage source that made it enter this state. |
| minecraft:behavior.pet_sleep_with_owner | Allows the pet mob to move onto a bed with its owner while sleeping. |
| minecraft:behavior.pickup_items | Allows the mob to pick up items on the ground. |
| minecraft:behavior.place_block | The original has no description. See the property table. |
| minecraft:behavior.play | Allows the mob to offer a flower to another mob with the minecraft:take_flower behavior. |
| minecraft:behavior.play_dead | Allows this entity to pretend to be dead to avoid being targeted by attackers. |
| minecraft:behavior.player_ride_tamed | Allows the mob to be ridden by the player after being tamed. |
| minecraft:behavior.raid_garden | Allows the mob to eat/raid crops out of farms until they are full. |
| minecraft:behavior.ram_attack | Allows this entity to damage a target by using a running attack. |
| minecraft:behavior.random_breach | Allows the mob to randomly break surface of the water. |
| minecraft:behavior.random_fly | Allows a mob to randomly fly around. |
| minecraft:behavior.random_hover | Allows the mob to hover around randomly, close to the surface. |
| minecraft:behavior.random_look_around | Allows the mob to randomly look around. |
| minecraft:behavior.random_look_around_and_sit | Allows the mob to randomly sit and look around for a duration. Note: Must have a sitting animation set up to use this. |
| minecraft:behavior.random_search_and_dig | Allows this entity to locate a random target block that it can path find to. Once found, the entity will move towards it and dig up an item. [Default target block types: Dirt, Grass, Podzol, DirtWithRoots, MossBlock, Mud, MuddyMangroveRoots]. |
| minecraft:behavior.random_sitting | Allows the mob to randomly sit for a duration. |
| minecraft:behavior.random_stroll | Allows a mob to randomly stroll around. |
| minecraft:behavior.random_swim | Allows an entity to randomly move through water. |
| minecraft:behavior.ranged_attack | Allows an entity to attack by using ranged shots. "charge_shoot_trigger" must be greater than 0 to enable charged up burst-shot attacks. Requires minecraft:shooter to define projectile behaviour. |
| minecraft:behavior.receive_love | Allows the villager to stop so another villager can breed with it. Can only be used by a Villager. |
| minecraft:behavior.restrict_open_door | Allows the mob to stay indoors during night time. |
| minecraft:behavior.restrict_sun | Allows the mob to automatically start avoiding the sun when its a clear day out. |
| minecraft:behavior.rise_to_liquid_level | Allows the mob to stay at a certain level when in liquid. |
| minecraft:behavior.roar | Allows this entity to roar at another entity based on data in minecraft:anger_level. Once the anger threshold specified in minecraft:anger_level has been reached, this entity will roar for the specified amount of time, look at the other entity, apply anger boost towards it, and finally target it. |
| minecraft:behavior.roll | This allows the mob to roll forward. |
| minecraft:behavior.run_around_like_crazy | Allows the mob to run around aimlessly. |
| minecraft:behavior.scared | Allows the mob to become scared when the weather outside is thundering. |
| minecraft:behavior.send_event | Allows the mob to send an event to another mob. |
| minecraft:behavior.share_items | Allows the mob to give items it has to others. |
| minecraft:behavior.silverfish_merge_with_stone | Allows the mob to go into stone blocks like Silverfish do. |
| minecraft:behavior.silverfish_wake_up_friends | Allows the mob to alert mobs in nearby blocks to come out. |
| minecraft:behavior.skeleton_horse_trap | Allows Equine mobs to be Horse Traps and be triggered like them, spawning a lightning bolt and a bunch of horses when a player is nearby. Can only be used by Horses, Mules, Donkeys and Skeleton Horses. |
| minecraft:behavior.sleep | Allows mobs that own a bed to in a village to move to and sleep in it. |
| minecraft:behavior.slime_attack | Causes the entity to grow tired every once in a while, while attacking. |
| minecraft:behavior.slime_float | Allow slimes to float in water / lava. |
| minecraft:behavior.slime_keep_on_jumping | Allows the entity to continuously jump around like a slime. |
| minecraft:behavior.slime_random_direction | Allows the entity to move in random directions like a slime. |
| minecraft:behavior.snacking | Allows the mob to take a load off and snack on food that it found nearby. |
| minecraft:behavior.sneeze | Allows the mob to sneeze, causing it to drop items and affect nearby mobs. |
| minecraft:behavior.sniff | Allows this entity to detect the nearest player within "sniffing_radius" and update its "minecraft:suspect_tracking" component state. |
| minecraft:behavior.sonic_boom | Allows this entity to perform a 'sonic boom' ranged attack. |
| minecraft:behavior.squid_dive | Allows the squid to dive down in water. |
| minecraft:behavior.squid_flee | Allows the squid to swim away. |
| minecraft:behavior.squid_idle | Allows the squid to swim in place idly. |
| minecraft:behavior.squid_move_away_from_ground | Allows the squid to move away from ground blocks and back to water. |
| minecraft:behavior.squid_out_of_water | Allows the squid to stick to the ground when outside water. |
| minecraft:behavior.stalk_and_pounce_on_target | Allows a mob to stalk a target, then once within range pounce onto a target, on success the target will be attacked dealing damage defined by the attack component. On failure, the mob will risk getting stuck. |
| minecraft:behavior.stay_near_noteblock | The entity will attempt to toss the items from its inventory to a nearby recently played noteblock. |
| minecraft:behavior.stay_while_sitting | Allows the mob to stay put while it is in a sitting state instead of doing something else. |
| minecraft:behavior.stomp_attack | Allows an entity to attack using stomp AoE damage behavior. |
| minecraft:behavior.stomp_turtle_egg | Allows this mob to stomp turtle eggs. |
| minecraft:behavior.stroll_towards_village | Allows the mob to move into a random location within a village within the search range. |
| minecraft:behavior.summon_entity | Allows the mob to attack the player by summoning other entities. |
| minecraft:behavior.swell | Allows the creeper to swell up when a player is nearby. It can only be used by Creepers. |
| minecraft:behavior.swim_idle | Allows the entity go idle, if swimming. Entity must be in water. |
| minecraft:behavior.swim_up_for_breath | Allows the mob to try to move to air once it is close to running out of its total breathable supply. Requires "minecraft:breathable". |
| minecraft:behavior.swim_wander | Allows the entity to wander around while swimming, when not path-finding. |
| minecraft:behavior.swim_with_entity | Allows the entity follow another entity. Both entities must be swimming [ie, in water]. |
| minecraft:behavior.swoop_attack | Allows an entity to attack using swoop attack behavior; Ideal for use with flying mobs. The behavior ends if the entity has a horizontal collision or gets hit. |
| minecraft:behavior.take_block | AI goal that makes entities pick up blocks from the world, like Endermen grabbing blocks to carry. Configure which blocks the entity can take and the search radius. Works with place_block behavior to create entities that relocate blocks or harvest materials from the environment. |
| minecraft:behavior.take_flower | Allows the mob to accept flowers from another mob with the minecraft:offer_flower behavior. |
| minecraft:behavior.target_when_pushed | Allows the mob to target another mob when it is pushed by that mob. |
| minecraft:behavior.teleport_to_owner | Allows an entity to teleport to its owner. |
| minecraft:behavior.tempt | Allows a mob to be tempted by a player holding a specific item. Uses pathfinding for movement. |
| minecraft:behavior.timer_flag_1 | Fires an event when this behavior starts, then waits for a duration before stopping. When stopping due to that timeout or due to being interrupted by another behavior, fires another event. query.timer_flag_1 will return 1.0 on both the client and server when this behavior is running, and 0.0 otherwise. |
| minecraft:behavior.timer_flag_2 | Fires an event when this behavior starts, then waits for a duration before stopping. When stopping due to that timeout or due to being interrupted by another behavior, fires another event. query.timer_flag_2 will return 1.0 on both the client and server when this behavior is running, and 0.0 otherwise. |
| minecraft:behavior.timer_flag_3 | Fires an event when this behavior starts, then waits for a duration before stopping. When stopping due to that timeout or due to being interrupted by another behavior, fires another event. query.timer_flag_3 will return 1.0 on both the client and server when this behavior is running, and 0.0 otherwise. |
| minecraft:behavior.trade_interest | Allows the mob to look at a player that is holding a tradable item. |
| minecraft:behavior.trade_with_player | Allows the player to trade with this mob. When the goal starts, it will stop the mob's navigation. |
| minecraft:behavior.transport_items | A behavior that enables a mob to transport items from and to containers. |
| minecraft:behavior.use_kinetic_weapon | Enables a mob to use kinetic weaponry by intermittently charging at its target and repositioning afterward. |
| minecraft:behavior.vex_copy_owner_target | Allows the mob to target the same entity its owner is targeting. |
| minecraft:behavior.vex_random_move | Allows the mob to move around randomly like the Vex. |
| minecraft:behavior.wither_random_attack_pos_goal | Allows the wither to launch random attacks. |
| minecraft:behavior.wither_target_highest_damage | Allows the wither to focus its attacks on whichever mob has dealt the most damage to it. |
| minecraft:behavior.work | Allows the NPC to use the POI. |
| minecraft:behavior.work_composter | Allows the NPC to use the composter POI to convert excess seeds into bone meal. |
| id | Source | License | Commit | Accessed |
|---|---|---|---|---|
ms-learn | Minecraft Creator documentation (Microsoft Learn) | CC BY 4.0 (documentation), MIT (code) | a9fd1c0 | 2026-11-13 |