Documentation may be created at User:Hankskyjames/sandbox/Drowned/Friendly behavior/drowned.json/doc .
Note: After saving, you have to bypass your browser's cache to see the changes.
Google Chrome , Firefox , Microsoft Edge , and Safari : Hold down the ⇧ Shift key and click the Reload toolbar button.
For details and instructions about other browsers, see Wikipedia:Bypass your cache .
format_version "1.11.0" minecraft:entity component_groups minecraft:adult_drowned minecraft:behavior.breed priority 1 speed_multiplier 1
minecraft:behavior.look_at_trading_player minecraft:behavior.make_love minecraft:behavior.offer_flower minecraft:behavior.receive_love minecraft:behavior.take_flower minecraft:behavior.trade_interest carried_item_switch_time 2 cooldown 2 interest_time 45 remove_item_time 1 within_radius 6
minecraft:behavior.trade_with_player minecraft:breedable breedItems breedsWith babyType "minecraft:drowned" breed_event event "minecraft:entity_born" target "baby"
mateType "minecraft:player"
inheritTamed false requireTame false
minecraft:economy_trade_table display_name "entity.drowned.name" new_screen true table "trading/economy_trades/drowned_trades.json"
minecraft:loot table "loot_tables/entities/drowned.json"
minecraft:trusting probability 1 trust_items items "bread"
"bucket:2"
"cake"
"diamond"
"emerald"
"raw_cod"
"cooked_cod"
"cookie"
max_count 5
minecraft:baby_drowned minecraft:ageable duration 1000 feedItems growth 0.016667 item "wheat"
growth 0.05 item "golden_carrot"
grow_up event "minecraft:ageable_grow_up" target "self"
minecraft:is_baby minecraft:movement minecraft:scale minecraft:underwater_movement
minecraft:bed_scedule_drowned minecraft:behavior.sleep goal_radius 1.5 sleep_collider_height 0.3 sleep_collider_width 1 sleep_y_offset 0.6 speed_multiplier 1.3
minecraft:drowned_hungry_eating minecraft:behavior.snacking items snacking_cooldown 10 snacking_cooldown_min 1 snacking_stop_change 0.75
minecraft:drowned_scedule minecraft:scheduler scheduled_event event "minecraft:drowned_awake" filters all_of operator ">=" test "hourly_clock_time" value 0
operator "<" test "hourly_clock_time" value 2000
scheduled_event event "minecraft:drowned_at_work" filters all_of operator ">=" test "hourly_clock_time" value 2000
operator "<" test "hourly_clock_time" value 11000
scheduled_event event "minecraft:drowned_home" filters all_of operator ">=" test "hourly_clock_time" value 11000
operator "<" test "hourly_clock_time" value 12000
scheduled_event event "minecraft:drowned_asleep" filters all_of operator ">=" test "hourly_clock_time" value 18000
operator "<" test "hourly_clock_time" value 24000
minecraft:dwell_configuration minecraft:behavior.defend_village_target minecraft:behavior.move_to_village priority 26 speed_multiplier 1
minecraft:dweller can_find_poi true can_migrate true dweller_role "defender" dwelling_type "village" first_founding_reward 1 update_interval_base 60 update_interval_variant 40
minecraft:employed_drowned minecraft:behavior.work active_time 250 can_work_in_rain false goal_cooldown 200 on_arrival event "minecraft:resupply_trades" target "all"
sound_delay_max 200 sound_delay_min 100 speed_multiplier 0.5 work_in_rain_tolerance 100
minecraft:heal_player minecraft:hunter_mode minecraft:angry broadcastAnger true broadcastRange 40 calm_event event "minecraft:lost_target" target "self"
duration 30
minecraft:navigation.generic avoid_sun false can_path_over_water true can_swim true can_walk true is_amphibious true
minecraft:indoor_wander_mode minecraft:behavior.gO_home minecraft:behavior.move_indoors priority 23 speed_multiplier 1.2
minecraft:navigation.walk avoid_water false can_open_doors true can_pass_doors true can_path_over_water true
minecraft:melee_mode minecraft:attack minecraft:behavior.melee_attack priority 3 speed_multiplier 1 track_target false
minecraft:equipment table "loot_tables/entities/drowned_equipment.json"
minecraft:mode_switcher minecraft:equipment table "loot_tables/empty.json"
minecraft:target_nearby_sensor inside_range 3 on_inside_range event "minecraft:switch_to_melee" target "self"
on_outside_range event "minecraft:switch_to_primary_ranged" target "self"
outside_range 5
minecraft:primary_ranged_mode minecraft:behavior.ranged_attack attack_interval_max 3 attack_interval_min 1 attack_radius 10 priority 26
minecraft:equipment table "loot_tables/entities/drowned_equipment.json"
minecraft:shooter def "minecraft:thrown_trident"
minecraft:target_nearby_sensor inside_range 6 on_inside_range event "minecraft:switch_to_primary_ranged" target "self"
on_outside_range event "minecraft:switch_to_secondary_ranged" target "self"
outside_range 11
minecraft:secondary_ranged_mode minecraft:behavior.ranged_attack attack_interval_max 3 attack_interval_min 1 attack_radius 40 priority 27
minecraft:equipment table "loot_tables/entities/pillager_gear.json"
minecraft:shooter def "minecraft:arrow" type "Arrow"
minecraft:tamed_drowned minecraft:behavior.bribe minecraft:behavior.fOllow_OwNER speed_multiplier 1.4 start_distance 25 stop_distance 1
minecraft:behavior.owner_hurt_by_target minecraft:behavior.pet_sleep_with_owner goal_radius 5 search_height 10 search_radius 1 speed_multiplier 1.2
minecraft:behavior.share_items entity_types filters subject "other" test "is_family" value "player"
goal_radius 2 max_dist 3 priority 8 speed_multiplier 0.5
minecraft:bribeable bribe_cooldown -1 bribe_items
minecraft:interact interact_text "action.interact.separate" on_interact event "minecraft:separate_from_player" filters other_with_item "poisonous_potato"
minecraft:is_tamed minecraft:wants_jockey entity_types filters operator "==" subject "other" test "is_family" value "drowned_favorite_mob"
minecraft:trade_preparation minecraft:wander_mode minecraft:navigation.generic can_open_doors true can_pass_doors true can_path_over_water true can_swim true can_walk true is_amphibious true
components minecraft:annotation.open_door minecraft:behavior.beg items "cake"
"bread"
"fish"
"cookie"
"diamond"
look_distance 20 look_time priority 3 speed_multiplier 1.5
minecraft:behavior.break_door minecraft:behavior.door_interact minecraft:behavior.hide duration 30 poi_type "bed" priority 32 speed_multiplier 1.3
minecraft:behavior.hurt_by_target entity_types filters operator "!=" subject "other" test "is_family" value "villager"
priority 4
minecraft:behavior.look_at_player look_distance 6 priority 7 probability 1.1
minecraft:behavior.move_towards_restriction priority 5 speed_multiplier 1
minecraft:behavior.nearest_attackable_target entity_types filters all_of any_of subject "other" test "is_family" value "monster"
subject "other" test "is_family" value "evoker"
subject "other" test "is_family" value "vindicator"
any_of subject "other" test "in_water" value true
operator "<" subject "other" test "is_brightness" value 0.49
max_dist 45
filters all_of subject "other" test "is_family" value "baby_zombie"
operator "!=" subject "other" test "in_water" value true
max_dist 45
must_see true must_see_forget_duration 17 persist_time 0.5 priority 2 reselect_targets true within_radius 40
minecraft:behavior.open_door minecraft:behavior.random_look_around minecraft:behavior.random_stroll priority 6 speed_multiplier 1
minecraft:behavior.restrict_open_door minecraft:behavior.share_items entity_types filters all_of any_of subject "other" test "is_family" value "drowned_favorite_mob"
subject "other" test "is_family" value "villager"
subject "other" test "is_family" value "friendly"
goal_radius 2 max_dist 3 priority 8 speed_multiplier 1.8
minecraft:breathable breathesAir true breathesWater true suffocateTime 0 totalSupply 30
minecraft:can_climb minecraft:collision_box minecraft:damage_sensor on_damage event "minecraft:gain_hero_of_the_village" filters all_of
subject "other" test "is_family" value "monster"
target "all"
minecraft:genetics genes allele_range genetic_variants birth_event "minecraft:entity_born" both_allele 0 either_allele 0 hidden_allele 0 main_allele 0 name "entity.drowned.player.name"
mutation_rate "0"
minecraft:healable items
heal_amount 4 item "golden_carrot"
heal_amount 10 item "golden_apple"
heal_amount 10 item "appleEnchanted"
minecraft:health minecraft:hide minecraft:inventory container_type "hotbar" inventory_size 9 private true
container_type "inventory" inventory_size 31 private true
minecraft:jump.static minecraft:movement minecraft:movement.generic minecraft:nameable minecraft:navigation.generic avoid_sun false can_open_doors true can_pass_doors true can_path_over_water true can_swim true can_walk true is_amphibious true
minecraft:on_target_acquired event "minecraft:has_target" target "self"
minecraft:on_target_escape event "minecraft:lost_target" target "self"
minecraft:physics minecraft:scaffolding_climber minecraft:scheduler scheduled_event event "minecraft:drowned_awake" filters all_of operator ">=" test "hourly_clock_time" value 0
operator "<" test "hourly_clock_time" value 11000
scheduled_event event "minecraft:drowned_home" filters all_of operator ">=" test "hourly_clock_time" value 11000
operator "<" test "hourly_clock_time" value 18000
scheduled_event event "minecraft:drowned_asleep" filters all_of operator ">=" test "hourly_clock_time" value 18000
operator "<" test "hourly_clock_time" value 24000
minecraft:tameable probability 1 tame_event event "minecraft:on_tame" target "self"
tameItems "cake"
minecraft:type_family family "player"
"villager"
"friendly"
minecraft:underwater_movement
description identifier "minecraft:drowned" is_experimental true is_spawnable true is_summonable true
events minecraft:ageable_grow_up add component_groups "minecraft:mode_switcher"
"minecraft:adult_drowned"
remove
minecraft:as_adult add component_groups "minecraft:melee_mode"
"minecraft:mode_switcher"
"minecraft:adult_drowned"
"minecraft:dwell_configuration"
minecraft:as_baby add component_groups "minecraft:melee_mode"
"minecraft:baby_drowned"
"minecraft:dwell_configuration"
minecraft:drowned_asleep add component_groups "minecraft:bed_scedule_drowned"
remove component_groups "minecraft:wander_mode"
"minecraft:indoor_wander_mode"
minecraft:drowned_at_work minecraft:drowned_awake add remove component_groups "minecraft:bed_scedule_drowned"
minecraft:drowned_home add component_groups "minecraft:indoor_wander_mode"
remove component_groups "minecraft:wander_mode"
"minecraft:employed_drowned"
minecraft:drowned_hungry minecraft:entity_born add component_groups "minecraft:melee_mode"
"minecraft:baby_drowned"
"minecraft:dwell_configuration"
remove weight 5
minecraft:entity_spawned randomize add component_groups "minecraft:mode_switcher"
"minecraft:ranged_mode"
"minecraft:adult_drowned"
"minecraft:dwell_configuration"
remove weight 15
randomize add component_groups "minecraft:melee_mode"
"minecraft:adult_drowned"
"minecraft:dwell_configuration"
remove weight 95
add component_groups "minecraft:melee_mode"
"minecraft:baby_drowned"
"minecraft:dwell_configuration"
remove weight 5
weight 85
minecraft:has_target minecraft:lost_target minecraft:on_tame add component_groups "minecraft:tamed_drowned"
remove
minecraft:resupply_trades add component_groups "minecraft:trade_preparation"
remove
minecraft:separate_from_player remove component_groups "minecraft:tamed_drowned"
minecraft:start_healing minecraft:switch_to_melee minecraft:switch_to_primary_ranged add component_groups "minecraft:primary_ranged_mode"
remove
minecraft:switch_to_secondary_ranged add component_groups "minecraft:secondary_ranged_mode"
remove component_groups "minecraft:primary_ranged_mode"