Vanilla Usage Components

This page was created with Wiki Content Generator. If there are issues, contact us on Bedrock OSS Discord server. Note that to keep this page fast to load and informative, there are not more than 8 examples for each component and not more than 3 example(s) from each entity are shown. Namespace minecraft was also removed. If you want to see full page, you can do it here. Last updated for 1.19.10

addrider

Show

cave_spider

#component_groups/minecraft:spider_jockeyCopy
"minecraft:addrider": {
    "entity_type": "minecraft:skeleton"
}
1
2
3
#component_groups/minecraft:spider_stray_jockeyCopy
"minecraft:addrider": {
    "entity_type": "minecraft:skeleton.stray"
}
1
2
3
#component_groups/minecraft:spider_wither_jockeyCopy
"minecraft:addrider": {
    "entity_type": "minecraft:skeleton.wither"
}
1
2
3

ravager

#component_groups/minecraft:pillager_riderCopy
"minecraft:addrider": {
    "entity_type": "minecraft:pillager"
}
1
2
3
#component_groups/minecraft:pillager_rider_for_raidCopy
"minecraft:addrider": {
    "entity_type": "minecraft:pillager",
    "spawn_event": "minecraft:spawn_for_raid"
}
1
2
3
4
#component_groups/minecraft:evoker_rider_for_raidCopy
"minecraft:addrider": {
    "entity_type": "minecraft:evocation_illager",
    "spawn_event": "minecraft:spawn_for_raid"
}
1
2
3
4

spider

#component_groups/minecraft:spider_jockeyCopy
"minecraft:addrider": {
    "entity_type": "minecraft:skeleton"
}
1
2
3
#component_groups/minecraft:spider_stray_jockeyCopy
"minecraft:addrider": {
    "entity_type": "minecraft:skeleton.stray"
}
1
2
3

admire_item

Show

piglin

Copy
"minecraft:admire_item": {
    "duration": 8,
    "cooldown_after_being_attacked": 20
}
1
2
3
4

ageable

Show

axolotl

#component_groups/axolotl_babyCopy
"minecraft:ageable": {
    "duration": 1200,
    "feed_items": "tropical_fish_bucket",
    "transform_to_item": "water_bucket:0",
    "grow_up": {
        "event": "minecraft:ageable_grow_up",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9

bee

#component_groups/bee_babyCopy
"minecraft:ageable": {
    "duration": 1200,
    "feed_items": [
        "minecraft:red_flower",
        "minecraft:yellow_flower",
        "minecraft:wither_rose",
        "minecraft:double_plant:0",
        "minecraft:double_plant:1",
        "minecraft:double_plant:4",
        "minecraft:double_plant:5",
        "minecraft:flowering_azalea",
        "minecraft:azalea_leaves_flowered",
        "minecraft:mangrove_propagule"
    ],
    "grow_up": {
        "event": "minecraft:ageable_grow_up",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

cat

#component_groups/minecraft:cat_babyCopy
"minecraft:ageable": {
    "duration": 1200,
    "feed_items": [
        "fish",
        "salmon"
    ],
    "grow_up": {
        "event": "minecraft:ageable_grow_up",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11

chicken

#component_groups/minecraft:chicken_babyCopy
"minecraft:ageable": {
    "duration": 1200,
    "feed_items": [
        "wheat_seeds",
        "beetroot_seeds",
        "melon_seeds",
        "pumpkin_seeds"
    ],
    "grow_up": {
        "event": "minecraft:ageable_grow_up",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13

cow

#component_groups/minecraft:cow_babyCopy
"minecraft:ageable": {
    "duration": 1200,
    "feed_items": "wheat",
    "grow_up": {
        "event": "minecraft:ageable_grow_up",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8

dolphin

#component_groups/dolphin_babyCopy
"minecraft:ageable": {
    "duration": 1200,
    "feed_items": [
        "fish",
        "salmon"
    ],
    "grow_up": {
        "event": "ageable_grow_up",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11

donkey

#component_groups/minecraft:donkey_babyCopy
"minecraft:ageable": {
    "duration": 1200,
    "feed_items": [
        {
            "item": "wheat",
            "growth": 0.016667
        },
        {
            "item": "sugar",
            "growth": 0.025
        },
        {
            "item": "hay_block",
            "growth": 0.15
        },
        {
            "item": "apple",
            "growth": 0.05
        },
        {
            "item": "golden_carrot",
            "growth": 0.05
        },
        {
            "item": "golden_apple",
            "growth": 0.2
        },
        {
            "item": "appleEnchanted",
            "growth": 0.2
        }
    ],
    "grow_up": {
        "event": "minecraft:ageable_grow_up",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

fox

#component_groups/minecraft:fox_babyCopy
"minecraft:ageable": {
    "duration": 1200,
    "feed_items": [
        "sweet_berries",
        "glow_berries"
    ],
    "grow_up": {
        "event": "minecraft:ageable_grow_up",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11

ambient_sound_interval

Show

allay

Copy
"minecraft:ambient_sound_interval": {
    "value": 5.0,
    "range": 5.0,
    "event_name": "ambient",
    "event_names": [
        {
            "event_name": "ambient.tame",
            "condition": "query.is_using_item"
        },
        {
            "event_name": "ambient",
            "condition": "!query.is_using_item"
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

bee

#component_groups/look_for_foodCopy
"minecraft:ambient_sound_interval": {
    "event_name": "ambient.pollinate",
    "range": 3.0,
    "value": 2.0
}
1
2
3
4
5
#component_groups/default_soundCopy
"minecraft:ambient_sound_interval": {
    "event_name": "ambient",
    "range": 0.0,
    "value": 0.0
}
1
2
3
4
5

evocation_illager

#component_groups/minecraft:raid_configurationCopy
"minecraft:ambient_sound_interval": {
    "value": 2.0,
    "range": 4.0,
    "event_name": "ambient.in.raid"
}
1
2
3
4
5

fox

#component_groups/minecraft:fox_ambient_normalCopy
"minecraft:ambient_sound_interval": {
    "event_name": "ambient"
}
1
2
3
#component_groups/minecraft:fox_ambient_sleepCopy
"minecraft:ambient_sound_interval": {
    "event_name": "sleep"
}
1
2
3
#component_groups/minecraft:fox_ambient_nightCopy
"minecraft:ambient_sound_interval": {
    "event_name": "screech",
    "value": 80,
    "range": 160
}
1
2
3
4
5

pillager

#component_groups/minecraft:raid_configurationCopy
"minecraft:ambient_sound_interval": {
    "value": 2.0,
    "range": 4.0,
    "event_name": "ambient.in.raid"
}
1
2
3
4
5

anger_level

Show

warden

Copy
"minecraft:anger_level": {
    "max_anger": 150,
    "angry_threshold": 80,
    "remove_targets_below_angry_threshold": true,
    "angry_boost": 20,
    "anger_decrement_interval": 1.0,
    "default_annoyingness": 35,
    "default_projectile_annoyingness": 10,
    "on_increase_sounds": [
        {
            "sound": "listening_angry",
            "condition": "query.anger_level(this) >= 40"
        },
        {
            "sound": "listening",
            "condition": "query.anger_level(this) >= 0"
        }
    ],
    "nuisance_filter": {
        "all_of": [
            {
                "test": "is_family",
                "subject": "other",
                "operator": "not",
                "value": "warden"
            },
            {
                "test": "is_family",
                "subject": "other",
                "operator": "not",
                "value": "inanimate"
            }
        ]
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

angry

Show

bee

#component_groups/angry_beeCopy
"minecraft:angry": {
    "duration": 25,
    "broadcastAnger": true,
    "broadcastRange": 20,
    "broadcast_filters": {
        "test": "is_family",
        "operator": "!=",
        "value": "pacified"
    },
    "calm_event": {
        "event": "calmed_down",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14

cave_spider

#component_groups/minecraft:spider_angryCopy
"minecraft:angry": {
    "duration": 10,
    "duration_delta": 3,
    "calm_event": {
        "event": "minecraft:on_calm",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8

dolphin

#component_groups/dolphin_angryCopy
"minecraft:angry": {
    "duration": 25,
    "broadcast_anger": true,
    "broadcast_range": 16,
    "calm_event": {
        "event": "on_calm",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9

enderman

#component_groups/minecraft:enderman_angryCopy
"minecraft:angry": {
    "duration": 25,
    "calm_event": {
        "event": "minecraft:on_calm",
        "target": "self"
    }
}
1
2
3
4
5
6
7

hoglin

#component_groups/angry_hoglinCopy
"minecraft:angry": {
    "duration": 10,
    "broadcast_anger": true,
    "broadcast_range": 16,
    "calm_event": {
        "event": "become_calm_event",
        "target": "self"
    },
    "angry_sound": "angry",
    "sound_interval": {
        "range_min": 2.0,
        "range_max": 5.0
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14

llama

#component_groups/minecraft:llama_angryCopy
"minecraft:angry": {
    "duration": 4,
    "broadcast_anger": false,
    "calm_event": {
        "event": "minecraft:on_calm",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
#component_groups/minecraft:llama_angry_wolfCopy
"minecraft:angry": {
    "duration": -1,
    "broadcast_anger": false,
    "calm_event": {
        "event": "minecraft:on_calm",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8

panda

#component_groups/minecraft:panda_angryCopy
"minecraft:angry": {
    "duration": 500,
    "broadcast_anger": true,
    "broadcast_range": 41,
    "broadcast_filters": {
        "test": "is_family",
        "operator": "==",
        "value": "panda_aggressive"
    },
    "calm_event": {
        "event": "minecraft:on_calm",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14

annotation.break_door

Show

drowned

Copy
"minecraft:annotation.break_door": {}
1

husk

Copy
"minecraft:annotation.break_door": {}
1

vindicator

#component_groups/minecraft:raid_configurationCopy
"minecraft:annotation.break_door": {
    "break_time": 30,
    "min_difficulty": "normal"
}
1
2
3
4

zombie

Copy
"minecraft:annotation.break_door": {}
1

zombie_villager

Copy
"minecraft:annotation.break_door": {}
1

zombie_villager_v2

Copy
"minecraft:annotation.break_door": {}
1

annotation.open_door

Show

piglin

Copy
"minecraft:annotation.open_door": {}
1

piglin_brute

Copy
"minecraft:annotation.open_door": {}
1

villager

Copy
"minecraft:annotation.open_door": {}
1

villager_v2

Copy
"minecraft:annotation.open_door": {}
1

area_attack

Show

pufferfish

#component_groups/minecraft:full_puffCopy
"minecraft:area_attack": {
    "damage_range": 0.2,
    "damage_per_tick": 2,
    "cause": "contact",
    "entity_filter": {
        "any_of": [
            {
                "test": "is_family",
                "subject": "other",
                "value": "player"
            },
            {
                "test": "is_family",
                "subject": "other",
                "value": "monster"
            }
        ]
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

attack

Show

axolotl

Copy
"minecraft:attack": {
    "damage": 2
}
1
2
3

bee

#component_groups/easy_attackCopy
"minecraft:attack": {
    "damage": 2
}
1
2
3
#component_groups/normal_attackCopy
"minecraft:attack": {
    "damage": 2,
    "effect_name": "poison",
    "effect_duration": 10
}
1
2
3
4
5
#component_groups/hard_attackCopy
"minecraft:attack": {
    "damage": 2,
    "effect_name": "poison",
    "effect_duration": 18
}
1
2
3
4
5

blaze

#component_groups/melee_modeCopy
"minecraft:attack": {
    "damage": 6
}
1
2
3

cave_spider

#component_groups/minecraft:spider_poison_easyCopy
"minecraft:attack": {
    "damage": 2,
    "effect_name": "poison",
    "effect_duration": 0
}
1
2
3
4
5
#component_groups/minecraft:spider_poison_normalCopy
"minecraft:attack": {
    "damage": 2,
    "effect_name": "poison",
    "effect_duration": 7
}
1
2
3
4
5
#component_groups/minecraft:spider_poison_hardCopy
"minecraft:attack": {
    "damage": 2,
    "effect_name": "poison",
    "effect_duration": 15
}
1
2
3
4
5

attack_cooldown

Show

axolotl

#component_groups/attack_cooldownCopy
"minecraft:attack_cooldown": {
    "attack_cooldown_time": 120.0,
    "attack_cooldown_complete_event": {
        "event": "attack_cooldown_complete_event",
        "target": "self"
    }
}
1
2
3
4
5
6
7

goat

#component_groups/attack_cooldownCopy
"minecraft:attack_cooldown": {
    "attack_cooldown_time": [
        30,
        40
    ],
    "attack_cooldown_complete_event": {
        "event": "attack_cooldown_complete_event",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10

hoglin

#component_groups/attack_cooldownCopy
"minecraft:attack_cooldown": {
    "attack_cooldown_time": [
        10.0,
        15.0
    ],
    "attack_cooldown_complete_event": {
        "event": "attack_cooldown_complete_event",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10

piglin

#component_groups/attack_cooldownCopy
"minecraft:attack_cooldown": {
    "attack_cooldown_time": [
        30.0,
        120.0
    ],
    "attack_cooldown_complete_event": {
        "event": "attack_cooldown_complete_event",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10

attack_damage

Show

cat

Copy
"minecraft:attack_damage": {
    "value": 4
}
1
2
3

ocelot

Copy
"minecraft:attack_damage": {
    "value": 3
}
1
2
3

balloonable

Show

allay

Copy
"minecraft:balloonable": {
    "mass": 0.5
}
1
2
3

bee

Copy
"minecraft:balloonable": {
    "mass": 0.5
}
1
2
3

boat

Copy
"minecraft:balloonable": {}
1

cat

#component_groups/minecraft:cat_tameCopy
"minecraft:balloonable": {
    "mass": 0.6
}
1
2
3

chest_boat

Copy
"minecraft:balloonable": {}
1

chicken

Copy
"minecraft:balloonable": {
    "mass": 0.5
}
1
2
3

cow

Copy
"minecraft:balloonable": {}
1

dolphin

Copy
"minecraft:balloonable": {}
1

barter

Show

piglin

#component_groups/piglin_adultCopy
"minecraft:barter": {
    "barter_table": "loot_tables/entities/piglin_barter.json",
    "cooldown_after_being_attacked": 20
}
1
2
3
4

behavior.admire_item

Show

piglin

Copy
"minecraft:behavior.admire_item": {
    "priority": 2,
    "admire_item_sound": "admire",
    "sound_interval": {
        "range_min": 2.0,
        "range_max": 5.0
    },
    "on_admire_item_start": {
        "event": "admire_item_started_event",
        "target": "self"
    },
    "on_admire_item_stop": {
        "event": "admire_item_stopped_event",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

behavior.avoid_block

Show

hoglin

Copy
"minecraft:behavior.avoid_block": {
    "priority": 1,
    "tick_interval": 5,
    "search_range": 8,
    "search_height": 4,
    "walk_speed_modifier": 1,
    "sprint_speed_modifier": 1,
    "avoid_block_sound": "retreat",
    "sound_interval": {
        "range_min": 2.0,
        "range_max": 5.0
    },
    "target_selection_method": "nearest",
    "target_blocks": [
        "minecraft:warped_fungus",
        "minecraft:portal",
        "minecraft:respawn_anchor"
    ],
    "on_escape": [
        {
            "event": "escaped_event",
            "target": "self"
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

piglin

Copy
"minecraft:behavior.avoid_block": {
    "priority": 9,
    "tick_interval": 5,
    "search_range": 8,
    "search_height": 4,
    "sprint_speed_modifier": 1.1,
    "target_selection_method": "nearest",
    "target_blocks": [
        "minecraft:soul_fire",
        "minecraft:soul_lantern",
        "minecraft:soul_torch",
        "minecraft:item.soul_campfire"
    ],
    "avoid_block_sound": "retreat",
    "sound_interval": {
        "range_min": 2.0,
        "range_max": 5.0
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

behavior.avoid_mob_type

Show

cat

#component_groups/minecraft:cat_wildCopy
"minecraft:behavior.avoid_mob_type": {
    "priority": 6,
    "entity_types": [
        {
            "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "player"
            },
            "max_dist": 10,
            "walk_speed_multiplier": 0.8,
            "sprint_speed_multiplier": 1.33
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

creeper

Copy
"minecraft:behavior.avoid_mob_type": {
    "priority": 3,
    "entity_types": [
        {
            "filters": {
                "any_of": [
                    {
                        "test": "is_family",
                        "subject": "other",
                        "value": "ocelot"
                    },
                    {
                        "test": "is_family",
                        "subject": "other",
                        "value": "cat"
                    }
                ]
            },
            "max_dist": 6,
            "sprint_speed_multiplier": 1.2
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

dolphin

Copy
"minecraft:behavior.avoid_mob_type": {
    "priority": 2,
    "entity_types": [
        {
            "filters": {
                "any_of": [
                    {
                        "test": "is_family",
                        "subject": "other",
                        "value": "guardian_elder"
                    },
                    {
                        "test": "is_family",
                        "subject": "other",
                        "value": "guardian"
                    }
                ]
            },
            "max_dist": 8,
            "walk_speed_multiplier": 1.0,
            "sprint_speed_multiplier": 1.0
        }
    ],
    "probability_per_strength": 0.14
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

evocation_illager

Copy
"minecraft:behavior.avoid_mob_type": {
    "priority": 5,
    "entity_types": [
        {
            "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "player"
            },
            "max_dist": 8,
            "walk_speed_multiplier": 0.6,
            "sprint_speed_multiplier": 1.0
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

cod

Copy
"minecraft:behavior.avoid_mob_type": {
    "priority": 1,
    "entity_types": [
        {
            "filters": {
                "any_of": [
                    {
                        "test": "is_family",
                        "subject": "other",
                        "value": "player"
                    },
                    {
                        "test": "is_family",
                        "subject": "other",
                        "value": "axolotl"
                    }
                ]
            },
            "max_dist": 6,
            "walk_speed_multiplier": 1.5,
            "sprint_speed_multiplier": 2.0
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

fox

Copy
"minecraft:behavior.avoid_mob_type": {
    "priority": 5,
    "entity_types": [
        {
            "filters": {
                "any_of": [
                    {
                        "all_of": [
                            {
                                "test": "is_family",
                                "subject": "other",
                                "value": "player"
                            },
                            {
                                "test": "trusts",
                                "subject": "other",
                                "operator": "!=",
                                "value": true
                            },
                            {
                                "test": "is_sneaking",
                                "subject": "other",
                                "operator": "!=",
                                "value": true
                            }
                        ]
                    },
                    {
                        "test": "is_family",
                        "subject": "other",
                        "value": "polarbear"
                    },
                    {
                        "test": "is_family",
                        "subject": "other",
                        "value": "wolf"
                    }
                ]
            },
            "max_dist": 10,
            "walk_speed_multiplier": 1.0,
            "sprint_speed_multiplier": 1.5
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

guardian

#component_groups/minecraft:guardian_passiveCopy
"minecraft:behavior.avoid_mob_type": {
    "priority": 1,
    "entity_types": [
        {
            "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "player"
            },
            "max_dist": 8,
            "walk_speed_multiplier": 1,
            "sprint_speed_multiplier": 1
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

hoglin

Copy
"minecraft:behavior.avoid_mob_type": {
    "priority": 0,
    "remove_target": true,
    "entity_types": [
        {
            "filters": {
                "all_of": [
                    {
                        "test": "has_target",
                        "subject": "other",
                        "value": true
                    },
                    {
                        "test": "is_family",
                        "subject": "other",
                        "value": "piglin"
                    }
                ]
            },
            "check_if_outnumbered": true,
            "max_dist": 10,
            "sprint_speed_multiplier": 1.2
        }
    ],
    "avoid_mob_sound": "retreat",
    "sound_interval": {
        "range_min": 2.0,
        "range_max": 5.0
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

behavior.barter

Show

piglin

Copy
"minecraft:behavior.barter": {
    "priority": 3
}
1
2
3

behavior.beg

Show

wolf

Copy
"minecraft:behavior.beg": {
    "priority": 9,
    "look_distance": 8,
    "look_time": [
        2,
        4
    ],
    "items": [
        "bone",
        "porkchop",
        "cooked_porkchop",
        "chicken",
        "cooked_chicken",
        "beef",
        "cooked_beef",
        "rotten_flesh",
        "muttonraw",
        "muttoncooked",
        "rabbit",
        "cooked_rabbit"
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

behavior.breed

Show

axolotl

#component_groups/axolotl_adultCopy
"minecraft:behavior.breed": {
    "priority": 1,
    "speed_multiplier": 1.0
}
1
2
3
4

bee

#component_groups/bee_adultCopy
"minecraft:behavior.breed": {
    "priority": 4,
    "speed_multiplier": 1.0
}
1
2
3
4

cat

#component_groups/minecraft:cat_adultCopy
"minecraft:behavior.breed": {
    "priority": 3,
    "speed_multiplier": 1.0
}
1
2
3
4

chicken

#component_groups/minecraft:chicken_adultCopy
"minecraft:behavior.breed": {
    "priority": 3,
    "speed_multiplier": 1.0
}
1
2
3
4

cow

Copy
"minecraft:behavior.breed": {
    "priority": 3,
    "speed_multiplier": 1.0
}
1
2
3
4
#component_groups/minecraft:cow_adultCopy
"minecraft:behavior.breed": {
    "priority": 3,
    "speed_multiplier": 1.0
}
1
2
3
4

donkey

#component_groups/minecraft:donkey_adultCopy
"minecraft:behavior.breed": {
    "priority": 2,
    "speed_multiplier": 1.0
}
1
2
3
4

fox

#component_groups/minecraft:fox_adultCopy
"minecraft:behavior.breed": {
    "priority": 3,
    "speed_multiplier": 1.0
}
1
2
3
4

behavior.celebrate

Show

evocation_illager

#component_groups/minecraft:celebrateCopy
"minecraft:behavior.celebrate": {
    "priority": 5,
    "celebration_sound": "celebrate",
    "sound_interval": {
        "range_min": 2.0,
        "range_max": 7.0
    },
    "jump_interval": {
        "range_min": 1.0,
        "range_max": 3.5
    },
    "duration": 30.0,
    "on_celebration_end_event": {
        "event": "minecraft:stop_celebrating",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

pillager

#component_groups/minecraft:celebrateCopy
"minecraft:behavior.celebrate": {
    "priority": 5,
    "celebration_sound": "celebrate",
    "sound_interval": {
        "range_min": 2.0,
        "range_max": 7.0
    },
    "jump_interval": {
        "range_min": 1.0,
        "range_max": 3.5
    },
    "duration": 30.0,
    "on_celebration_end_event": {
        "event": "minecraft:stop_celebrating",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

ravager

#component_groups/minecraft:celebrateCopy
"minecraft:behavior.celebrate": {
    "priority": 5,
    "celebration_sound": "celebrate",
    "sound_interval": {
        "range_min": 2.0,
        "range_max": 7.0
    },
    "jump_interval": {
        "range_min": 1.0,
        "range_max": 3.5
    },
    "duration": 30.0,
    "on_celebration_end_event": {
        "event": "minecraft:stop_celebrating",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

vindicator

#component_groups/minecraft:celebrateCopy
"minecraft:behavior.celebrate": {
    "priority": 5,
    "celebration_sound": "celebrate",
    "sound_interval": {
        "range_min": 2.0,
        "range_max": 7.0
    },
    "jump_interval": {
        "range_min": 1.0,
        "range_max": 3.5
    },
    "duration": 30.0,
    "on_celebration_end_event": {
        "event": "minecraft:stop_celebrating",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

witch

#component_groups/minecraft:celebrateCopy
"minecraft:behavior.celebrate": {
    "priority": 5,
    "celebration_sound": "celebrate",
    "sound_interval": {
        "range_min": 2.0,
        "range_max": 7.0
    },
    "jump_interval": {
        "range_min": 1.0,
        "range_max": 3.5
    },
    "duration": 30.0,
    "on_celebration_end_event": {
        "event": "minecraft:stop_celebrating",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

behavior.celebrate_survive

Show

villager

#component_groups/minecraft:celebrateCopy
"minecraft:behavior.celebrate_survive": {
    "priority": 5,
    "fireworks_interval": {
        "range_min": 2.0,
        "range_max": 7.0
    },
    "duration": 30.0,
    "on_celebration_end_event": {
        "event": "minecraft:stop_celebrating",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12

villager_v2

#component_groups/minecraft:celebrateCopy
"minecraft:behavior.celebrate_survive": {
    "priority": 5,
    "fireworks_interval": {
        "range_min": 2.0,
        "range_max": 7.0
    },
    "duration": 30.0,
    "on_celebration_end_event": {
        "event": "minecraft:stop_celebrating",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12

behavior.charge_attack

Show

vex

Copy
"minecraft:behavior.charge_attack": {
    "priority": 4
}
1
2
3

behavior.charge_held_item

Show

piglin

#component_groups/ranged_unitCopy
"minecraft:behavior.charge_held_item": {
    "priority": 3,
    "items": [
        "minecraft:arrow"
    ]
}
1
2
3
4
5
6

pillager

Copy
"minecraft:behavior.charge_held_item": {
    "priority": 3,
    "items": [
        "minecraft:arrow"
    ]
}
1
2
3
4
5
6

behavior.circle_around_anchor

Show

phantom

Copy
"minecraft:behavior.circle_around_anchor": {
    "priority": 3,
    "radius_change": 1.0,
    "radius_adjustment_chance": 0.004,
    "height_adjustment_chance": 0.002857,
    "goal_radius": 1.0,
    "angle_change": 15.0,
    "radius_range": [
        5.0,
        15.0
    ],
    "height_offset_range": [
        -4.0,
        5.0
    ],
    "height_above_target_range": [
        20.0,
        40.0
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

behavior.controlled_by_player

Show

pig

#component_groups/minecraft:pig_saddledCopy
"minecraft:behavior.controlled_by_player": {
    "priority": 0
}
1
2
3

strider

#component_groups/minecraft:strider_saddledCopy
"minecraft:behavior.controlled_by_player": {
    "priority": 0,
    "mount_speed_multiplier": 1.45
}
1
2
3
4

behavior.croak

Show

frog

Copy
"minecraft:behavior.croak": {
    "priority": 9,
    "interval": [
        10,
        20
    ],
    "duration": 4.5,
    "filters": {
        "all_of": [
            {
                "test": "in_water",
                "value": false
            },
            {
                "test": "in_lava",
                "value": false
            }
        ]
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

behavior.defend_trusted_target

Show

fox

#component_groups/minecraft:trusting_foxCopy
"minecraft:behavior.defend_trusted_target": {
    "priority": 0,
    "within_radius": 25,
    "must_see": false,
    "aggro_sound": "mad",
    "sound_chance": 0.05,
    "on_defend_start": {
        "event": "minecraft:fox_configure_defending",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11

behavior.defend_village_target

Show

iron_golem

#component_groups/minecraft:village_createdCopy
"minecraft:behavior.defend_village_target": {
    "priority": 1,
    "must_reach": true,
    "attack_chance": 0.05,
    "entity_types": {
        "filters": {
            "any_of": [
                {
                    "test": "is_family",
                    "subject": "other",
                    "value": "mob"
                },
                {
                    "test": "is_family",
                    "subject": "other",
                    "value": "player"
                }
            ]
        }
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

behavior.delayed_attack

Show

ravager

#component_groups/minecraft:hostileCopy
"minecraft:behavior.delayed_attack": {
    "priority": 4,
    "attack_once": false,
    "track_target": true,
    "require_complete_path": false,
    "random_stop_interval": 0,
    "reach_multiplier": 1.5,
    "speed_multiplier": 1.0,
    "attack_duration": 0.75,
    "hit_delay_pct": 0.5
}
1
2
3
4
5
6
7
8
9
10
11

behavior.dig

Show

warden

Copy
"minecraft:behavior.dig": {
    "priority": 1,
    "duration": 5.5,
    "idle_time": 60.0,
    "vibration_is_disturbance": true,
    "suspicion_is_disturbance": true,
    "digs_in_daylight": false,
    "on_start": {
        "event": "on_digging_event",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12

behavior.dragonchargeplayer

Show

ender_dragon

#component_groups/dragon_flyingCopy
"minecraft:behavior.dragonchargeplayer": {
    "priority": 1
}
1
2
3

behavior.dragondeath

Show

ender_dragon

#component_groups/dragon_deathCopy
"minecraft:behavior.dragondeath": {
    "priority": 0
}
1
2
3

behavior.dragonflaming

Show

ender_dragon

#component_groups/dragon_sittingCopy
"minecraft:behavior.dragonflaming": {
    "priority": 1
}
1
2
3

behavior.dragonholdingpattern

Show

ender_dragon

#component_groups/dragon_flyingCopy
"minecraft:behavior.dragonholdingpattern": {
    "priority": 3
}
1
2
3

behavior.dragonlanding

Show

ender_dragon

#component_groups/dragon_sittingCopy
"minecraft:behavior.dragonlanding": {
    "priority": 0
}
1
2
3

behavior.dragonscanning

Show

ender_dragon

#component_groups/dragon_sittingCopy
"minecraft:behavior.dragonscanning": {
    "priority": 2
}
1
2
3

behavior.dragonstrafeplayer

Show

ender_dragon

#component_groups/dragon_flyingCopy
"minecraft:behavior.dragonstrafeplayer": {
    "priority": 2
}
1
2
3

behavior.dragontakeoff

Show

ender_dragon

#component_groups/dragon_flyingCopy
"minecraft:behavior.dragontakeoff": {
    "priority": 0
}
1
2
3

behavior.drink_milk

Show

wandering_trader

Copy
"minecraft:behavior.drink_milk": {
    "priority": 5,
    "filters": {
        "all_of": [
            {
                "test": "is_daytime",
                "value": true
            },
            {
                "test": "is_visible",
                "subject": "self",
                "value": false
            },
            {
                "test": "is_avoiding_mobs",
                "subject": "self",
                "value": false
            }
        ]
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

behavior.drink_potion

Show

wandering_trader

Copy
"minecraft:behavior.drink_potion": {
    "priority": 1,
    "speed_modifier": -0.2,
    "potions": [
        {
            "id": 7,
            "chance": 1.0,
            "filters": {
                "all_of": [
                    {
                        "any_of": [
                            {
                                "test": "hourly_clock_time",
                                "operator": ">=",
                                "value": 18000
                            },
                            {
                                "test": "hourly_clock_time",
                                "operator": "<",
                                "value": 12000
                            }
                        ]
                    },
                    {
                        "test": "is_visible",
                        "subject": "self",
                        "value": true
                    },
                    {
                        "any_of": [
                            {
                                "test": "is_avoiding_mobs",
                                "subject": "self",
                                "value": true
                            },
                            {
                                "all_of": [
                                    {
                                        "test": "has_component",
                                        "subject": "self",
                                        "value": "minecraft:angry"
                                    },
                                    {
                                        "test": "is_family",
                                        "subject": "target",
                                        "operator": "!=",
                                        "value": "player"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        },
        {
            "id": 8,
            "chance": 1.0,
            "filters": {
                "all_of": [
                    {
                        "test": "hourly_clock_time",
                        "operator": ">=",
                        "value": 12000
                    },
                    {
                        "test": "hourly_clock_time",
                        "operator": "<",
                        "value": 18000
                    },
                    {
                        "test": "is_visible",
                        "subject": "self",
                        "value": true
                    },
                    {
                        "any_of": [
                            {
                                "test": "is_avoiding_mobs",
                                "subject": "self",
                                "value": true
                            },
                            {
                                "test": "has_component",
                                "subject": "self",
                                "value": "minecraft:angry"
                            }
                        ]
                    }
                ]
            }
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94

behavior.drop_item_for

Show

cat

#component_groups/minecraft:cat_gift_for_ownerCopy
"minecraft:behavior.drop_item_for": {
    "priority": 1,
    "seconds_before_pickup": 0.0,
    "cooldown": 0.25,
    "drop_item_chance": 0.7,
    "offering_distance": 5.0,
    "minimum_teleport_distance": 2.0,
    "max_head_look_at_height": 10.0,
    "target_range": [
        5.0,
        5.0,
        5.0
    ],
    "teleport_offset": [
        0.0,
        1.0,
        0.0
    ],
    "time_of_day_range": [
        0.74999,
        0.8
    ],
    "speed_multiplier": 1.0,
    "search_range": 5,
    "search_height": 2,
    "search_count": 0,
    "goal_radius": 1.0,
    "entity_types": [
        {
            "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "player"
            },
            "max_dist": 6
        }
    ],
    "loot_table": "loot_tables/entities/cat_gift.json",
    "on_drop_attempt": {
        "event": "minecraft:cat_gifted_owner",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

behavior.eat_block

Show

sheep

Copy
"minecraft:behavior.eat_block": {
    "priority": 6,
    "success_chance": "query.is_baby ? 0.02 : 0.001",
    "time_until_eat": 1.8,
    "eat_and_replace_block_pairs": [
        {
            "eat_block": "grass",
            "replace_block": "dirt"
        },
        {
            "eat_block": "tallgrass",
            "replace_block": "air"
        }
    ],
    "on_eat": {
        "event": "minecraft:on_eat_block",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

behavior.eat_carried_item

Show

fox

Copy
"minecraft:behavior.eat_carried_item": {
    "priority": 12,
    "delay_before_eating": 28
}
1
2
3
4

behavior.eat_mob

Show

frog

Copy
"minecraft:behavior.eat_mob": {
    "priority": 7,
    "run_speed": 2.0,
    "eat_animation_time": 0.3,
    "pull_in_force": 0.75,
    "reach_mob_distance": 1.75,
    "eat_mob_sound": "tongue",
    "loot_table": "loot_tables/entities/frog.json"
}
1
2
3
4
5
6
7
8
9

behavior.emerge

Show

warden

#component_groups/emergingCopy
"minecraft:behavior.emerge": {
    "duration": 7.0,
    "on_done": {
        "event": "minecraft:emerged",
        "target": "self"
    }
}
1
2
3
4
5
6
7

behavior.enderman_leave_block

Show

enderman

Copy
"minecraft:behavior.enderman_leave_block": {
    "priority": 10
}
1
2
3

behavior.enderman_take_block

Show

enderman

Copy
"minecraft:behavior.enderman_take_block": {
    "priority": 11
}
1
2
3

behavior.equip_item

Show

drowned

Copy
"minecraft:behavior.equip_item": {
    "priority": 3
}
1
2
3

fox

Copy
"minecraft:behavior.equip_item": {
    "priority": 2
}
1
2
3

husk

Copy
"minecraft:behavior.equip_item": {
    "priority": 2
}
1
2
3

piglin

Copy
"minecraft:behavior.equip_item": {
    "priority": 5
}
1
2
3

pillager

Copy
"minecraft:behavior.equip_item": {
    "priority": 3
}
1
2
3

skeleton

Copy
"minecraft:behavior.equip_item": {
    "priority": 3
}
1
2
3

stray

Copy
"minecraft:behavior.equip_item": {
    "priority": 3
}
1
2
3

wither_skeleton

Copy
"minecraft:behavior.equip_item": {
    "priority": 3
}
1
2
3

behavior.explore_outskirts

Show

villager_v2

#component_groups/job_specific_goalsCopy
"minecraft:behavior.explore_outskirts": {}
1
#component_groups/wander_schedule_villagerCopy
"minecraft:behavior.explore_outskirts": {
    "priority": 9,
    "next_xz": 5,
    "next_y": 3,
    "min_wait_time": 3.0,
    "max_wait_time": 10.0,
    "max_travel_time": 60.0,
    "speed_multiplier": 0.6,
    "explore_dist": 6.0,
    "min_perimeter": 1.0,
    "min_dist_from_target": 2.5,
    "timer_ratio": 2.0,
    "dist_from_boundary": [
        5.0,
        0.0,
        5.0
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

behavior.fertilize_farm_block

Show

villager_v2

#component_groups/work_schedule_farmerCopy
"minecraft:behavior.fertilize_farm_block": {
    "priority": 8
}
1
2
3

behavior.find_cover

Show

fox

#component_groups/minecraft:fox_thunderstormCopy
"minecraft:behavior.find_cover": {
    "priority": 0,
    "speed_multiplier": 1,
    "cooldown_time": 0.0
}
1
2
3
4
5
#component_groups/minecraft:fox_dayCopy
"minecraft:behavior.find_cover": {
    "priority": 9,
    "speed_multiplier": 1,
    "cooldown_time": 5.0
}
1
2
3
4
5

behavior.find_mount

Show

husk

#component_groups/minecraft:zombie_husk_jockeyCopy
"minecraft:behavior.find_mount": {
    "priority": 1,
    "within_radius": 16
}
1
2
3
4

parrot

#component_groups/minecraft:parrot_tameCopy
"minecraft:behavior.find_mount": {
    "priority": 3,
    "within_radius": 16,
    "avoid_water": true,
    "start_delay": 100,
    "target_needed": false,
    "mount_distance": 2.0
}
1
2
3
4
5
6
7
8

piglin

#component_groups/piglin_jockeyCopy
"minecraft:behavior.find_mount": {
    "priority": 1,
    "within_radius": 16,
    "start_delay": 15,
    "max_failed_attempts": 20
}
1
2
3
4
5
6

zombie

#component_groups/minecraft:zombie_jockeyCopy
"minecraft:behavior.find_mount": {
    "priority": 1,
    "within_radius": 16,
    "start_delay": 15,
    "max_failed_attempts": 20
}
1
2
3
4
5
6

zombie_villager

#component_groups/jockeyCopy
"minecraft:behavior.find_mount": {
    "priority": 1,
    "within_radius": 16
}
1
2
3
4

zombie_villager_v2

#component_groups/jockeyCopy
"minecraft:behavior.find_mount": {
    "priority": 1,
    "within_radius": 16
}
1
2
3
4

behavior.find_underwater_treasure

Show

dolphin

Copy
"minecraft:behavior.find_underwater_treasure": {
    "priority": 2,
    "speed_multiplier": 2.0,
    "search_range": 30,
    "stop_distance": 50
}
1
2
3
4
5
6

behavior.flee_sun

Show

drowned

Copy
"minecraft:behavior.flee_sun": {
    "priority": 2,
    "speed_multiplier": 1
}
1
2
3
4

skeleton

Copy
"minecraft:behavior.flee_sun": {
    "priority": 2,
    "speed_multiplier": 1
}
1
2
3
4

stray

Copy
"minecraft:behavior.flee_sun": {
    "priority": 2,
    "speed_multiplier": 1
}
1
2
3
4

zombie_villager

#component_groups/from_abandoned_villageCopy
"minecraft:behavior.flee_sun": {
    "priority": 4,
    "speed_multiplier": 1
}
1
2
3
4

zombie_villager_v2

#component_groups/from_abandoned_villageCopy
"minecraft:behavior.flee_sun": {
    "priority": 4,
    "speed_multiplier": 1
}
1
2
3
4

behavior.float

Show

allay

Copy
"minecraft:behavior.float": {
    "priority": 7
}
1
2
3

bat

Copy
"minecraft:behavior.float": {
    "priority": 0
}
1
2
3

bee

Copy
"minecraft:behavior.float": {
    "priority": 19
}
1
2
3

blaze

Copy
"minecraft:behavior.float": {
    "priority": 0
}
1
2
3

cat

Copy
"minecraft:behavior.float": {
    "priority": 0
}
1
2
3

cave_spider

Copy
"minecraft:behavior.float": {
    "priority": 1
}
1
2
3

chicken

Copy
"minecraft:behavior.float": {
    "priority": 0
}
1
2
3

cow

Copy
"minecraft:behavior.float": {
    "priority": 0
}
1
2
3

behavior.float_wander

Show

bat

Copy
"minecraft:behavior.float_wander": {
    "xz_dist": 10,
    "y_dist": 7,
    "y_offset": -2.0,
    "random_reselect": true,
    "float_duration": [
        0.1,
        0.35
    ]
}
1
2
3
4
5
6
7
8
9
10

ghast

Copy
"minecraft:behavior.float_wander": {
    "priority": 2,
    "must_reach": true
}
1
2
3
4

behavior.follow_caravan

Show

llama

Copy
"minecraft:behavior.follow_caravan": {
    "priority": 3,
    "speed_multiplier": 2.1,
    "entity_count": 10,
    "entity_types": {
        "filters": {
            "test": "is_family",
            "subject": "other",
            "value": "llama"
        }
    }
}
1
2
3
4
5
6
7
8
9
10
11
12

trader_llama

Copy
"minecraft:behavior.follow_caravan": {
    "priority": 3,
    "speed_multiplier": 2.1,
    "entity_count": 10,
    "entity_types": {
        "filters": {
            "test": "is_family",
            "subject": "other",
            "value": "llama"
        }
    }
}
1
2
3
4
5
6
7
8
9
10
11
12

behavior.follow_mob

Show

parrot

#component_groups/minecraft:parrot_wildCopy
"minecraft:behavior.follow_mob": {
    "priority": 3,
    "speed_multiplier": 1.0,
    "stop_distance": 3,
    "search_range": 20
}
1
2
3
4
5
6

behavior.follow_owner

Show

allay

Copy
"minecraft:behavior.follow_owner": {
    "priority": 6,
    "speed_multiplier": 8,
    "start_distance": 16,
    "stop_distance": 4,
    "can_teleport": false,
    "ignore_vibration": false
}
1
2
3
4
5
6
7
8

cat

#component_groups/minecraft:cat_tameCopy
"minecraft:behavior.follow_owner": {
    "priority": 4,
    "speed_multiplier": 1.0,
    "start_distance": 10,
    "stop_distance": 2
}
1
2
3
4
5
6

ocelot

#component_groups/minecraft:ocelot_tameCopy
"minecraft:behavior.follow_owner": {
    "priority": 4,
    "speed_multiplier": 1.0,
    "start_distance": 10,
    "stop_distance": 2
}
1
2
3
4
5
6

parrot

#component_groups/minecraft:parrot_tameCopy
"minecraft:behavior.follow_owner": {
    "priority": 2,
    "speed_multiplier": 1.0,
    "start_distance": 5,
    "stop_distance": 1
}
1
2
3
4
5
6

wolf

#component_groups/minecraft:wolf_tameCopy
"minecraft:behavior.follow_owner": {
    "priority": 6,
    "speed_multiplier": 1.0,
    "start_distance": 10,
    "stop_distance": 2
}
1
2
3
4
5
6

behavior.follow_parent

Show

axolotl

#component_groups/axolotl_babyCopy
"minecraft:behavior.follow_parent": {
    "priority": 5,
    "speed_multiplier": 1.1
}
1
2
3
4

bee

#component_groups/bee_babyCopy
"minecraft:behavior.follow_parent": {
    "priority": 11,
    "speed_multiplier": 1.1
}
1
2
3
4

chicken

#component_groups/minecraft:chicken_babyCopy
"minecraft:behavior.follow_parent": {
    "priority": 5,
    "speed_multiplier": 1.1
}
1
2
3
4

cow

Copy
"minecraft:behavior.follow_parent": {
    "priority": 5,
    "speed_multiplier": 1.1
}
1
2
3
4
#component_groups/minecraft:cow_babyCopy
"minecraft:behavior.follow_parent": {
    "priority": 6,
    "speed_multiplier": 1.1
}
1
2
3
4

dolphin

#component_groups/dolphin_babyCopy
"minecraft:behavior.follow_parent": {
    "priority": 4,
    "speed_multiplier": 1.1
}
1
2
3
4

donkey

#component_groups/minecraft:donkey_babyCopy
"minecraft:behavior.follow_parent": {
    "priority": 4,
    "speed_multiplier": 1.0
}
1
2
3
4

fox

#component_groups/minecraft:fox_babyCopy
"minecraft:behavior.follow_parent": {
    "priority": 9,
    "speed_multiplier": 1.1
}
1
2
3
4

behavior.follow_target_captain

Show

pillager

#component_groups/minecraft:patrol_followerCopy
"minecraft:behavior.follow_target_captain": {
    "priority": 5,
    "speed_multiplier": 0.8,
    "within_radius": 64,
    "follow_distance": 5
}
1
2
3
4
5
6

vindicator

#component_groups/minecraft:patrol_followerCopy
"minecraft:behavior.follow_target_captain": {
    "priority": 5,
    "speed_multiplier": 0.8,
    "within_radius": 64,
    "follow_distance": 5
}
1
2
3
4
5
6

behavior.go_and_give_items_to_noteblock

Show

allay

Copy
"minecraft:behavior.go_and_give_items_to_noteblock": {
    "priority": 3,
    "run_speed": 8,
    "throw_sound": "item_thrown",
    "on_item_throw": [
        {
            "event": "pickup_item_delay",
            "target": "self"
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11

behavior.go_and_give_items_to_owner

Show

allay

Copy
"minecraft:behavior.go_and_give_items_to_owner": {
    "priority": 4,
    "run_speed": 8,
    "throw_sound": "item_thrown",
    "on_item_throw": [
        {
            "event": "pickup_item_delay",
            "target": "self"
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11

behavior.go_home

Show

bee

#component_groups/return_to_homeCopy
"minecraft:behavior.go_home": {
    "priority": 4,
    "speed_multiplier": 1.0,
    "interval": 1,
    "goal_radius": 1.2,
    "on_home": [
        {
            "filters": {
                "any_of": [
                    {
                        "test": "is_block",
                        "subject": "block",
                        "value": "minecraft:bee_nest"
                    },
                    {
                        "test": "is_block",
                        "subject": "block",
                        "value": "minecraft:beehive"
                    }
                ]
            },
            "event": "minecraft:bee_returned_to_hive",
            "target": "block"
        },
        {
            "filters": {
                "all_of": [
                    {
                        "test": "is_block",
                        "subject": "block",
                        "operator": "!=",
                        "value": "minecraft:bee_nest"
                    },
                    {
                        "test": "is_block",
                        "subject": "block",
                        "operator": "!=",
                        "value": "minecraft:beehive"
                    }
                ]
            },
            "event": "find_hive_event",
            "target": "self"
        }
    ],
    "on_failed": [
        {
            "event": "find_hive_event",
            "target": "self"
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

piglin_brute

#component_groups/go_back_to_spawnCopy
"minecraft:behavior.go_home": {
    "priority": 6,
    "interval": 200,
    "speed_multiplier": 0.6,
    "goal_radius": 4.0,
    "on_failed": [
        {
            "event": "go_back_to_spawn_failed",
            "target": "self"
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12

turtle

#component_groups/minecraft:pregnantCopy
"minecraft:behavior.go_home": {
    "priority": 1,
    "speed_multiplier": 1.0,
    "interval": 700,
    "goal_radius": 4.0,
    "on_home": [
        {
            "event": "minecraft:go_lay_egg",
            "target": "self"
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12

behavior.guardian_attack

Show

elder_guardian

Copy
"minecraft:behavior.guardian_attack": {
    "priority": 4
}
1
2
3

guardian

Copy
"minecraft:behavior.guardian_attack": {
    "priority": 4
}
1
2
3
#component_groups/minecraft:guardian_aggressiveCopy
"minecraft:behavior.guardian_attack": {
    "priority": 4
}
1
2
3

behavior.harvest_farm_block

Show

villager

#component_groups/behavior_peasantCopy
"minecraft:behavior.harvest_farm_block": {
    "priority": 9,
    "speed_multiplier": 0.5
}
1
2
3
4

villager_v2

#component_groups/job_specific_goalsCopy
"minecraft:behavior.harvest_farm_block": {}
1
#component_groups/work_schedule_farmerCopy
"minecraft:behavior.harvest_farm_block": {
    "priority": 7
}
1
2
3

behavior.hide

Show

villager_v2

Copy
"minecraft:behavior.hide": {
    "priority": 0,
    "speed_multiplier": 0.8,
    "poi_type": "bed",
    "duration": 30.0
}
1
2
3
4
5
6

behavior.hold_ground

Show

pillager

#component_groups/minecraft:patrol_captainCopy
"minecraft:behavior.hold_ground": {
    "priority": 5,
    "min_radius": 10,
    "broadcast": true,
    "broadcast_range": 8,
    "within_radius_event": {
        "event": "minecraft:ranged_mode",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
#component_groups/minecraft:patrol_followerCopy
"minecraft:behavior.hold_ground": {
    "priority": 6,
    "min_radius": 10,
    "broadcast": true,
    "broadcast_range": 8,
    "within_radius_event": {
        "event": "minecraft:ranged_mode",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10

behavior.hurt_by_target

Show

bee

#component_groups/track_attackerCopy
"minecraft:behavior.hurt_by_target": {
    "priority": 1
}
1
2
3

blaze

Copy
"minecraft:behavior.hurt_by_target": {
    "priority": 1
}
1
2
3

cave_spider

Copy
"minecraft:behavior.hurt_by_target": {
    "priority": 1
}
1
2
3

creeper

Copy
"minecraft:behavior.hurt_by_target": {
    "priority": 2
}
1
2
3

dolphin

Copy
"minecraft:behavior.hurt_by_target": {
    "priority": 1
}
1
2
3

drowned

Copy
"minecraft:behavior.hurt_by_target": {
    "priority": 1
}
1
2
3

enderman

Copy
"minecraft:behavior.hurt_by_target": {
    "priority": 3
}
1
2
3

evocation_illager

Copy
"minecraft:behavior.hurt_by_target": {
    "priority": 1
}
1
2
3

behavior.inspect_bookshelf

Show

villager_v2

#component_groups/job_specific_goalsCopy
"minecraft:behavior.inspect_bookshelf": {}
1
#component_groups/work_schedule_librarianCopy
"minecraft:behavior.inspect_bookshelf": {
    "priority": 8,
    "speed_multiplier": 0.6,
    "search_range": 4,
    "search_height": 3,
    "goal_radius": 0.8,
    "search_count": 0
}
1
2
3
4
5
6
7
8

behavior.investigate_suspicious_location

Show

warden

Copy
"minecraft:behavior.investigate_suspicious_location": {
    "priority": 5,
    "speed_multiplier": 0.7
}
1
2
3
4

behavior.jump_to_block

Show

frog

Copy
"minecraft:behavior.jump_to_block": {
    "priority": 10,
    "search_width": 8,
    "search_height": 4,
    "minimum_path_length": 2,
    "minimum_distance": 1,
    "scale_factor": 0.6,
    "max_velocity": 1,
    "cooldown_range": [
        5,
        7
    ],
    "preferred_blocks": [
        "minecraft:waterlily",
        "minecraft:big_dripleaf"
    ],
    "preferred_blocks_chance": 0.5,
    "forbidden_blocks": [
        "minecraft:water"
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

goat

Copy
"minecraft:behavior.jump_to_block": {
    "priority": 8,
    "search_width": 10,
    "search_height": 10,
    "minimum_path_length": 8,
    "minimum_distance": 1,
    "scale_factor": 0.6,
    "cooldown_range": [
        30,
        60
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12

behavior.knockback_roar

Show

ravager

#component_groups/roaringCopy
"minecraft:behavior.knockback_roar": {
    "priority": 1,
    "duration": 1,
    "attack_time": 0.5,
    "knockback_damage": 6,
    "knockback_horizontal_strength": 3,
    "knockback_vertical_strength": 3,
    "knockback_range": 4,
    "knockback_filters": {
        "test": "is_family",
        "subject": "other",
        "operator": "!=",
        "value": "ravager"
    },
    "damage_filters": {
        "test": "is_family",
        "subject": "other",
        "operator": "!=",
        "value": "illager"
    },
    "on_roar_end": {
        "event": "minecraft:end_roar"
    },
    "cooldown_time": 0.1
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

behavior.lay_down

Show

panda

#component_groups/minecraft:panda_lazyCopy
"minecraft:behavior.lay_down": {
    "priority": 5,
    "interval": 400,
    "random_stop_interval": 2000
}
1
2
3
4
5

behavior.lay_egg

Show

frog

#component_groups/pregnantCopy
"minecraft:behavior.lay_egg": {
    "priority": 2,
    "speed_multiplier": 1.0,
    "search_range": 10,
    "search_height": 3,
    "goal_radius": 1.7,
    "target_blocks": [
        "minecraft:water"
    ],
    "target_materials_above_block": [
        "Air"
    ],
    "allow_laying_from_below": true,
    "use_default_animation": false,
    "lay_seconds": 2,
    "egg_type": "minecraft:frog_spawn",
    "lay_egg_sound": "lay_spawn",
    "on_lay": {
        "event": "laid_egg",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

turtle

#component_groups/minecraft:wants_to_lay_eggCopy
"minecraft:behavior.lay_egg": {
    "priority": 1,
    "speed_multiplier": 1.0,
    "search_range": 16,
    "search_height": 4,
    "goal_radius": 1.5,
    "on_lay": {
        "event": "minecraft:laid_egg",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9
10
11

behavior.leap_at_target

Show

cat

Copy
"minecraft:behavior.leap_at_target": {
    "priority": 3,
    "target_dist": 0.3
}
1
2
3
4

cave_spider

#component_groups/minecraft:spider_hostileCopy
"minecraft:behavior.leap_at_target": {
    "priority": 4,
    "yd": 0.4,
    "must_be_on_ground": false
}
1
2
3
4
5
#component_groups/minecraft:spider_angryCopy
"minecraft:behavior.leap_at_target": {
    "priority": 4,
    "yd": 0.4,
    "must_be_on_ground": false
}
1
2
3
4
5

ocelot

Copy
"minecraft:behavior.leap_at_target": {
    "priority": 3,
    "target_dist": 0.3
}
1
2
3
4

spider

#component_groups/minecraft:spider_angryCopy
"minecraft:behavior.leap_at_target": {
    "priority": 4,
    "yd": 0.4,
    "must_be_on_ground": false
}
1
2
3
4
5

wolf

Copy
"minecraft:behavior.leap_at_target": {
    "priority": 4,
    "target_dist": 0.4
}
1
2
3
4

behavior.look_at_entity

Show

evocation_illager

Copy
"minecraft:behavior.look_at_entity": {
    "priority": 10,
    "look_distance": 8.0,
    "filters": {
        "test": "is_family",
        "subject": "other",
        "value": "mob"
    }
}
1
2
3
4
5
6
7
8
9

ravager

#component_groups/minecraft:hostileCopy
"minecraft:behavior.look_at_entity": {
    "priority": 10,
    "look_distance": 8,
    "angle_of_view_horizontal": 45,
    "filters": {
        "test": "is_family",
        "subject": "other",
        "value": "mob"
    }
}
1
2
3
4
5
6
7
8
9
10

vex

Copy
"minecraft:behavior.look_at_entity": {
    "priority": 9,
    "look_distance": 6.0,
    "probability": 0.02,
    "filters": {
        "test": "is_family",
        "subject": "other",
        "value": "mob"
    }
}
1
2
3
4
5
6
7
8
9
10

behavior.look_at_player

Show

allay

Copy
"minecraft:behavior.look_at_player": {
    "priority": 8,
    "target_distance": 6.0,
    "probability": 0.02
}
1
2
3
4
5

axolotl

Copy
"minecraft:behavior.look_at_player": {
    "priority": 10,
    "target_distance": 6.0,
    "probability": 0.02
}
1
2
3
4
5

cat

Copy
"minecraft:behavior.look_at_player": {
    "priority": 9
}
1
2
3

cave_spider

Copy
"minecraft:behavior.look_at_player": {
    "priority": 7,
    "look_distance": 6.0,
    "probability": 0.02
}
1
2
3
4
5

chicken

Copy
"minecraft:behavior.look_at_player": {
    "priority": 7,
    "look_distance": 6.0,
    "probability": 0.02
}
1
2
3
4
5

cow

Copy
"minecraft:behavior.look_at_player": {
    "priority": 7,
    "look_distance": 6.0,
    "probability": 0.02
}
1
2
3
4
5

creeper

Copy
"minecraft:behavior.look_at_player": {
    "priority": 6,
    "look_distance": 8
}
1
2
3
4

dolphin

#component_groups/dolphin_swimming_navigationCopy
"minecraft:behavior.look_at_player": {
    "priority": 8,
    "look_distance": 6
}
1
2
3
4

behavior.look_at_target

Show

wither

Copy
"minecraft:behavior.look_at_target": {
    "priority": 5
}
1
2
3

behavior.look_at_trading_player

Show

villager

Copy
"minecraft:behavior.look_at_trading_player": {
    "priority": 2
}
1
2
3

villager_v2

Copy
"minecraft:behavior.look_at_trading_player": {
    "priority": 7
}
1
2
3

wandering_trader

Copy
"minecraft:behavior.look_at_trading_player": {
    "priority": 4
}
1
2
3

behavior.make_love

Show

villager

#component_groups/adultCopy
"minecraft:behavior.make_love": {
    "priority": 6
}
1
2
3

villager_v2

#component_groups/adultCopy
"minecraft:behavior.make_love": {
    "priority": 5
}
1
2
3

behavior.melee_attack

Show

axolotl

Copy
"minecraft:behavior.melee_attack": {
    "priority": 4,
    "on_kill": {
        "event": "killed_enemy_event",
        "target": "self"
    }
}
1
2
3
4
5
6
7

bee

#component_groups/angry_beeCopy
"minecraft:behavior.melee_attack": {
    "priority": 2,
    "attack_once": true,
    "speed_multiplier": 1.4,
    "on_attack": {
        "event": "countdown_to_perish_event",
        "target": "self"
    }
}
1
2
3
4
5
6
7
8
9

blaze

#component_groups/melee_modeCopy
"minecraft:behavior.melee_attack": {
    "priority": 3
}
1
2
3

cave_spider

#component_groups/minecraft:spider_hostileCopy
"minecraft:behavior.melee_attack": {
    "priority": 3,
    "track_target": true,
    "random_stop_interval": 100,
    "reach_multiplier": 0.8
}
1
2
3
4
5
6
#component_groups/minecraft:spider_angryCopy
"minecraft:behavior.melee_attack": {
    "priority": 3,
    "track_target": true,
    "reach_multiplier": 1.4
}
1
2
3
4
5

creeper

Copy
"minecraft:behavior.melee_attack": {
    "priority": 4,
    "speed_multiplier": 1.25,
    "track_target": false,
    "reach_multiplier": 0.0
}
1
2
3
4
5
6

dolphin

#component_groups/dolphin_adultCopy
"minecraft:behavior.melee_attack": {
    "priority": 2,
    "track_target": true
}
1
2
3
4

drowned

#component_groups/minecraft:melee_modeCopy
"minecraft:behavior.melee_attack": {
    "priority": 3,
    "speed_multiplier": 1,
    "track_target": false,
    "require_complete_path": true
}
1
2
3
4
5
6

behavior.mingle

Show

villager_v2

#component_groups/job_specific_goalsCopy
"minecraft:behavior.mingle": {}
1
#component_groups/gather_schedule_villagerCopy
"minecraft:behavior.mingle": {
    "priority": 7,
    "speed_multiplier": 0.5,
    "duration": 30,
    "cooldown_time": 10,
    "mingle_partner_type": "minecraft:villager_v2",
    "mingle_distance": 2.0
}
1
2
3
4
5
6
7
8

behavior.mount_pathing

Show

cat

Copy
"minecraft:behavior.mount_pathing": {
    "priority": 1,
    "speed_multiplier": 1.25,
    "target_dist": 0,
    "track_target": true
}
1
2
3
4
5
6

cave_spider

Copy
"minecraft:behavior.mount_pathing": {
    "priority": 5,
    "speed_multiplier": 1.25,
    "target_dist": 0.0,
    "track_target": true
}
1
2
3
4
5
6

chicken

Copy
"minecraft:behavior.mount_pathing": {
    "priority": 2,
    "speed_multiplier": 1.5,
    "target_dist": 0.0,
    "track_target": true
}
1
2
3
4
5
6

cow

Copy
"minecraft:behavior.mount_pathing": {
    "priority": 2,
    "speed_multiplier": 1.5,
    "target_dist": 0.0,
    "track_target": true
}
1
2
3
4
5
6

donkey

#component_groups/minecraft:donkey_wildCopy
"minecraft:behavior.mount_pathing": {
    "priority": 2,
    "speed_multiplier": 1.5,
    "target_dist": 0.0,
    "track_target": true
}
1
2
3
4
5
6

horse

#component_groups/minecraft:horse_wildCopy
"minecraft:behavior.mount_pathing": {
    "priority": 2,
    "speed_multiplier": 1.5,
    "target_dist": 0.0,
    "track_target": true
}
1
2
3
4
5
6

husk

#component_groups/minecraft:zombie_husk_adultCopy
"minecraft:behavior.mount_pathing": {
    "priority": 2,
    "speed_multiplier": 1.25,
    "target_dist": 0.0,
    "track_target": true
}
1
2
3
4
5
6

llama

Copy
"minecraft:behavior.mount_pathing": {
    "priority": 1,
    "speed_multiplier": 1.25,
    "target_dist": 0.0,
    "track_target": true
}
1
2
3
4
5
6

behavior.move_indoors

Show

villager

Copy
"minecraft:behavior.move_indoors": {
    "priority": 4,
    "speed_multiplier": 0.8
}
1
2
3
4

villager_v2

Copy
"minecraft:behavior.move_indoors": {
    "priority": 6,
    "speed_multiplier": 0.8,
    "timeout_cooldown": 8.0
}
1
2
3
4
5

behavior.move_outdoors

Show

villager

#component_groups/minecraft:celebrateCopy
"minecraft:behavior.move_outdoors": {
    "priority": 2,
    "speed_multiplier": 0.8,
    "timeout_cooldown": 8.0
}
1
2
3
4
5

villager_v2

#component_groups/minecraft:celebrateCopy
"minecraft:behavior.move_outdoors": {
    "priority": 2,
    "speed_multiplier": 0.8,
    "timeout_cooldown": 8.0
}
1
2
3
4
5

behavior.move_through_village

Show

iron_golem

Copy
"minecraft:behavior.move_through_village": {
    "priority": 3,
    "speed_multiplier": 0.6,
    "only_at_night": true
}
1
2
3
4
5

behavior.move_to_block

Show

bee

#component_groups/look_for_foodCopy
"minecraft:behavior.move_to_block": {
    "priority": 10,
    "tick_interval": 1,
    "start_chance": 0.5,
    "search_range": 6,
    "search_height": 4,
    "goal_radius": 1.0,
    "stay_duration": 20.0,
    "target_selection_method": "random",
    "target_offset": [
        0,
        0.25,
        0
    ],
    "target_block_filters": {
        "test": "is_waterlogged",
        "subject": "block",
        "operator": "==",
        "value": false
    },
    "target_blocks": [
        "minecraft:red_flower",
        "minecraft:yellow_flower",
        "minecraft:wither_rose",
        "minecraft:double_plant:8",
        "minecraft:double_plant:9",
        "minecraft:double_plant:12",
        "minecraft:double_plant:13",
        "minecraft:flowering_azalea",
        "minecraft:azalea_leaves_flowered",
        "minecraft:mangrove_propagule"
    ],
    "on_stay_completed": [
        {
            "event": "collected_nectar",
            "target": "self"
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#component_groups/find_hiveCopy
"minecraft:behavior.move_to_block": {
    "priority": 10,
    "search_range": 16,
    "search_height": 10,
    "tick_interval": 1,
    "goal_radius": 0.633,
    "target_blocks": [
        "bee_nest",
        "beehive"
    ],
    "on_reach": [
        {
            "event": "minecraft:bee_returned_to_hive",
            "target": "block"
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

behavior.move_to_land

Show

frog

Copy
"minecraft:behavior.move_to_land": {
    "priority": 6,
    "search_range": 30,
    "search_height": 8,
    "search_count": 80,
    "goal_radius": 2
}
1
2
3
4
5
6
7

turtle

#component_groups/minecraft:adultCopy
"minecraft:behavior.move_to_land": {
    "priority": 6,
    "search_range": 16,
    "search_height": 5,
    "goal_radius": 0.5
}
1
2
3
4
5
6

behavior.move_to_liquid

Show

strider

Copy
"minecraft:behavior.move_to_liquid": {
    "priority": 7,
    "search_range": 16,
    "search_height": 10,
    "goal_radius": 0.9,
    "material_type": "Lava",
    "search_count": 30
}
1
2
3
4
5
6
7
8

behavior.move_to_random_block

Show

pillager

#component_groups/minecraft:patrol_captainCopy
"minecraft:behavior.move_to_random_block": {
    "priority": 6,
    "speed_multiplier": 0.55,
    "within_radius": 8,
    "block_distance": 512
}
1
2
3
4
5
6

vindicator

#component_groups/minecraft:patrol_captainCopy
"minecraft:behavior.move_to_random_block": {
    "priority": 5,
    "speed_multiplier": 0.55,
    "within_radius": 8,
    "block_distance": 512
}
1
2
3
4
5
6

behavior.move_to_village

Show

evocation_illager

#component_groups/minecraft:raid_configurationCopy
"minecraft:behavior.move_to_village": {
    "priority": 6,
    "speed_multiplier": 0.7
}
1
2
3
4

pillager

#component_groups/minecraft:raid_configurationCopy
"minecraft:behavior.move_to_village": {
    "priority": 5,
    "speed_multiplier": 1.0,
    "goal_radius": 2.0
}
1
2
3
4
5

ravager

#component_groups/minecraft:raid_configurationCopy
"minecraft:behavior.move_to_village": {
    "priority": 5,
    "speed_multiplier": 1.0,
    "goal_radius": 2.0
}
1
2
3
4
5

vindicator

#component_groups/minecraft:raid_configurationCopy
"minecraft:behavior.move_to_village": {
    "priority": 4,
    "speed_multiplier": 1.0,
    "goal_radius": 2.0
}
1
2
3
4
5

witch

#component_groups/minecraft:raid_configurationCopy
"minecraft:behavior.move_to_village": {
    "priority": 3,
    "speed_multiplier": 1.2,
    "goal_radius": 2.0
}
1
2
3
4
5

behavior.move_to_water

Show

axolotl

Copy
"minecraft:behavior.move_to_water": {
    "priority": 6,
    "search_range": 16,
    "search_height": 5,
    "search_count": 1,
    "goal_radius": 0.1
}
1
2
3
4
5
6
7

dolphin

Copy
"minecraft:behavior.move_to_water": {
    "priority": 1,
    "search_range": 15,
    "search_height": 5
}
1
2
3
4
5

frog

#component_groups/pregnantCopy
"minecraft:behavior.move_to_water": {
    "priority": 3,
    "search_range": 20,
    "search_height": 5,
    "goal_radius": 1.5
}
1
2
3
4
5
6

turtle

Copy
"minecraft:behavior.move_to_water": {
    "priority": 4,
    "search_range": 16,
    "search_height": 5,
    "goal_radius": 1.5
}
1
2
3
4
5
6
#component_groups/minecraft:babyCopy
"minecraft:behavior.move_to_water": {
    "priority": 1,
    "search_range": 15,
    "search_height": 5,
    "goal_radius": 0.1
}
1
2
3
4
5
6

behavior.move_towards_dwelling_restriction

Show

cat

#component_groups/minecraft:cat_wildCopy
"minecraft:behavior.move_towards_dwelling_restriction": {
    "priority": 7
}
1
2
3

iron_golem

Copy
"minecraft:behavior.move_towards_dwelling_restriction": {
    "priority": 4,
    "speed_multiplier": 1
}
1
2
3
4

villager_v2

Copy
"minecraft:behavior.move_towards_dwelling_restriction": {
    "priority": 11,
    "speed_multiplier": 0.6
}
1
2
3
4

behavior.move_towards_home_restriction

Show

bee

Copy
"minecraft:behavior.move_towards_home_restriction": {
    "priority": 9
}
1
2
3

elder_guardian

Copy
"minecraft:behavior.move_towards_home_restriction": {
    "priority": 5,
    "speed_multiplier": 1.0
}
1
2
3
4

guardian

Copy
"minecraft:behavior.move_towards_home_restriction": {
    "priority": 5,
    "speed_multiplier": 1.0
}
1
2
3
4

wandering_trader

Copy
"minecraft:behavior.move_towards_home_restriction": {
    "priority": 6,
    "speed_multiplier": 0.6
}
1
2
3
4

behavior.move_towards_target

Show

iron_golem

Copy
"minecraft:behavior.move_towards_target": {
    "priority": 2,
    "speed_multiplier": 0.9,
    "within_radius": 32
}
1
2
3
4
5

behavior.nap

Show

fox

#component_groups/minecraft:fox_dayCopy
"minecraft:behavior.nap": {
    "priority": 8,
    "cooldown_min": 2.0,
    "cooldown_max": 7.0,
    "mob_detect_dist": 12.0,
    "mob_detect_height": 6.0,
    "can_nap_filters": {
        "all_of": [
            {
                "test": "in_water",
                "subject": "self",
                "operator": "==",
                "value": false
            },
            {
                "test": "on_ground",
                "subject": "self",
                "operator": "==",
                "value": true
            },
            {
                "test": "is_underground",
                "subject": "self",
                "operator": "==",
                "value": true
            },
            {
                "test": "weather_at_position",
                "subject": "self",
                "operator": "!=",
                "value": "thunderstorm"
            }
        ]
    },
    "wake_mob_exceptions": {
        "any_of": [
            {
                "test": "trusts",
                "subject": "other",
                "operator": "==",
                "value": true
            },
            {
                "test": "is_family",
                "subject": "other",
                "operator": "==",
                "value": "fox"
            },
            {
                "test": "is_sneaking",
                "subject": "other",
                "operator": "==",
                "value": true
            }
        ]
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57

behavior.nearest_attackable_target

Show

axolotl

Copy
"minecraft:behavior.nearest_attackable_target": {
    "priority": 3,
    "must_see": true,
    "reselect_targets": true,
    "within_radius": 20.0,
    "must_see_forget_duration": 17.0,
    "entity_types": [
        {
            "filters": {
                "all_of": [
                    {
                        "test": "in_water",
                        "subject": "other",
                        "value": true
                    },
                    {
                        "test": "has_component",
                        "subject": "self",
                        "operator": "!=",
                        "value": "minecraft:attack_cooldown"
                    },
                    {
                        "any_of": [
                            {
                                "test": "is_family",
                                "subject": "other",
                                "value": "squid"
                            },
                            {
                                "test": "is_family",
                                "subject": "other",
                                "value": "fish"
                            },
                            {
                                "test": "is_family",
                                "subject": "other",
                                "value": "tadpole"
                            }
                        ]
                    }
                ]
            },
            "max_dist": 8
        },
        {
            "filters": {
                "all_of": [
                    {
                        "test": "in_water",
                        "subject": "other",
                        "value": true
                    },
                    {
                        "any_of": [
                            {
                                "test": "is_family",
                                "subject": "other",
                                "value": "drowned"
                            },
                            {
                                "test": "is_family",
                                "subject": "other",
                                "value": "guardian"
                            },
                            {
                                "test": "is_family",
                                "subject": "other",
                                "value": "guardian_elder"
                            }
                        ]
                    }
                ]
            },
            "max_dist": 8
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77

bee

#component_groups/take_nearest_targetCopy
"minecraft:behavior.nearest_attackable_target": {
    "priority": 2,
    "entity_types": [
        {
            "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "player"
            },
            "max_dist": 10
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13

blaze

Copy
"minecraft:behavior.nearest_attackable_target": {
    "priority": 2,
    "must_see": true,
    "entity_types": [
        {
            "filters": {
                "test": "is_family",
                "subject": "other",
                "value": "player"
            },
            "max_dist": 48.0
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13<