Compare commits

...

45 commits

Author SHA1 Message Date
NataliaTheDrowned2 05c2c1391b edit 2024-04-04 13:14:24 +08:00
NataliaTheDrowned2 803a04c8e2 Edit 2024-04-04 13:10:59 +08:00
NataliaTheDrowned2 f407764ef5 Edit 2024-04-04 13:05:28 +08:00
NataliaTheDrowned2 7f33ca2e9c Important reminder 2024-04-04 13:03:08 +08:00
NataliaTheDrowned2 282190f9b9 rearrange by tool 2024-03-09 17:49:03 +08:00
NataliaTheDrowned2 5e5bc0e2e6 Fix - json tool ruined the syntax again 2024-03-01 01:27:49 +08:00
NataliaTheDrowned2 eb179eef82 Implement anger sounds 2024-03-01 01:20:50 +08:00
NataliaTheDrowned2 0f4dd7d798 Fix - they aren't horses (replaced items) 2024-02-29 19:46:19 +08:00
NataliaTheDrowned2 457714956f Fix - replaced old component names, expanded broadcast range 2024-02-29 19:31:12 +08:00
NataliaTheDrowned2 19dcaac89e Player-drowned offsprings now allowed to inherit 2024-02-21 01:46:57 +08:00
NataliaTheDrowned2 2918d84dfd edit 2023-09-30 13:54:42 +08:00
NataliaTheDrowned2 9901a3190a update 2023-09-30 04:55:26 +08:00
NataliaTheDrowned2 aaad672b34 update 2023-09-28 22:29:29 +08:00
NataliaTheDrowned2 383d6c44d3 edit 2023-09-28 14:39:40 +08:00
NataliaTheDrowned2 2d80ef966a Copy from 'master': acknowledgements and added the mojang patch update 2023-09-28 14:32:32 +08:00
NataliaTheDrowned2 19e886e3bd Drowneds shouldnt need to see the mobs before attacking 2023-09-26 21:24:51 +08:00
NataliaTheDrowned2 14676d2dd1 Syntax fix. Tool I tried on ruined the syntax.
Signed-off-by: NataliaTheDrowned2 <k_letovskiy02@protonmail.com>
2023-09-26 14:39:47 +02:00
NataliaTheDrowned2 37b20d98f6 change to "open_door" 2023-09-26 20:33:41 +08:00
NataliaTheDrowned2 400a09cfa2 [File overwrite] Remove "flee_sun" and "stomp_turtle_egg" 2023-09-26 19:56:26 +08:00
NataliaTheDrowned2 5814bfc2f3 [Overwrite] Upgrade to nearest_prioritized_attackable_target from nearest_attackable_target with tweaks 2023-09-26 08:23:10 +08:00
NataliaTheDrowned2 1167a24a74 New entity family type 2023-09-25 19:54:15 +02:00
NataliaTheDrowned2 ef83d1cd73 move file
Signed-off-by: NataliaTheDrowned2 <k_letovskiy02@protonmail.com>
2023-09-25 19:10:58 +02:00
NataliaTheDrowned2 4eaadfb842 Moving file - deleting
Signed-off-by: NataliaTheDrowned2 <k_letovskiy02@protonmail.com>
2023-09-25 19:10:25 +02:00
NataliaTheDrowned2 1e8991413f rmv
Signed-off-by: NataliaTheDrowned2 <k_letovskiy02@protonmail.com>
2023-09-25 19:09:30 +02:00
NataliaTheDrowned2 9bb3860bb8 rmv
Signed-off-by: NataliaTheDrowned2 <k_letovskiy02@protonmail.com>
2023-09-25 19:09:18 +02:00
NataliaTheDrowned2 7aed2af531 rmv
Signed-off-by: NataliaTheDrowned2 <k_letovskiy02@protonmail.com>
2023-09-25 19:09:10 +02:00
NataliaTheDrowned2 ac6311a200 removed due to the new file location
Signed-off-by: NataliaTheDrowned2 <k_letovskiy02@protonmail.com>
2023-09-25 19:08:53 +02:00
NataliaTheDrowned2 f928782ceb Changed event name to consist with other mobs
Signed-off-by: NataliaTheDrowned2 <k_letovskiy02@protonmail.com>
2023-09-25 19:07:41 +02:00
NataliaTheDrowned2 e928cf2026 move file
Signed-off-by: NataliaTheDrowned2 <k_letovskiy02@protonmail.com>
2023-09-25 19:06:02 +02:00
NataliaTheDrowned2 dba760df8c change file
Signed-off-by: NataliaTheDrowned2 <k_letovskiy02@protonmail.com>
2023-09-25 19:01:50 +02:00
NataliaTheDrowned2 bd431df0cb drowned geometry
Signed-off-by: NataliaTheDrowned2 <k_letovskiy02@protonmail.com>
2023-09-25 19:01:13 +02:00
NataliaTheDrowned2 01fc24a6ca move file
Signed-off-by: NataliaTheDrowned2 <k_letovskiy02@protonmail.com>
2023-09-25 18:55:21 +02:00
NataliaTheDrowned2 78b8849939 File isnt supposed to be here
Signed-off-by: NataliaTheDrowned2 <k_letovskiy02@protonmail.com>
2023-09-17 19:25:22 +02:00
NataliaTheDrowned2 546deeac07 move from old location
Signed-off-by: NataliaTheDrowned2 <k_letovskiy02@protonmail.com>
2023-09-17 19:24:31 +02:00
NataliaTheDrowned2 2237d6ee15 move from old location
Signed-off-by: NataliaTheDrowned2 <k_letovskiy02@protonmail.com>
2023-09-17 19:13:37 +02:00
hankskyjames777 325fa72f37 No loner aiming for the drowned sound on the player.
Signed-off-by: hankskyjames777 <iamjuanz30312@gmail.com>
2023-09-17 18:09:26 +02:00
hankskyjames777 0bf240b79e old mcpe photo
Signed-off-by: hankskyjames777 <iamjuanz30312@gmail.com>
2023-09-15 16:45:07 +02:00
hankskyjames777 63990293ba New location in /assets/resource_pack/textures/entity/zombie/
Signed-off-by: hankskyjames777 <iamjuanz30312@gmail.com>
2023-09-15 16:43:14 +02:00
hankskyjames777 32f01d6417 pack icon from old mcpe photo
Signed-off-by: hankskyjames777 <iamjuanz30312@gmail.com>
2023-09-15 16:41:12 +02:00
hankskyjames777 5cc2e78083 new edited texture
Signed-off-by: hankskyjames777 <iamjuanz30312@gmail.com>
2023-09-15 16:39:58 +02:00
hankskyjames777 97058ff6c6 Delete resource_pack/manifest.json
Signed-off-by: hankskyjames777 <iamjuanz30312@gmail.com>
2023-09-15 16:38:22 +02:00
hankskyjames777 d5fc26cdfb Delete resource_pack/sounds.json
Signed-off-by: hankskyjames777 <iamjuanz30312@gmail.com>
2023-09-15 16:38:12 +02:00
hankskyjames777 c3b7ec72fe new location 3/n
Signed-off-by: hankskyjames777 <iamjuanz30312@gmail.com>
2023-09-15 16:37:50 +02:00
hankskyjames777 29d6faf482 new location 2/n
Signed-off-by: hankskyjames777 <iamjuanz30312@gmail.com>
2023-09-15 16:35:56 +02:00
hankskyjames777 01a3826333 New file location 2023-09-15 16:17:25 +02:00
14 changed files with 1065 additions and 656 deletions

View file

@ -2,7 +2,26 @@ Changelogs:
v0.0.0 v0.0.0
- The birth version for this addon - The birth version for this addon
IMPORTANT:
Before using this addon for any purposes:
- You must run this addon on a separate MCPE instance, which is always disconnected from the internet (must also allow local-only (192.168.x.x) connections for multiplayer to work) due to the telemetry in MCPE sending information about how the addon works for Mojang devs to patch the breeding feature of the addon
Upcoming roadmap: Upcoming roadmap:
- Support for gitea-releases - Support for gitea-releases
Acknowledgements:
- My friend @NataliaTheDrowned2@git.owlcode.tech / @nautilaTheDrowned2@mastodon.xyz ( http://git.owlcode.tech/@NataliaTheDrowned2 / http://mastodon.xyz/nautilaTheDrowned2 ) for contributions to this repo
Update from acknowledged contributor:
- UPDATE 2023/10/30: The patch is also confirmed in version 1.20.40.23. We will have to find an old version for you to downgrade to as a workaround, while we are working to fix it.
- UPDATE 2023/10/29: The patch was found in an older version (1.18.20.10), we will plan to test it on the latest version.
- NEW INFO 2023/10/28: It has reached our attention that one of our features has been patched out by Mojang developers - specifically the breeding between the drowned and the player, meaning that feature won't work anymore. Don't fret - we will find a workaround for it. Stay tuned on our accounts for future information.
Suggestions? PM us on Mastodon from your favorite federated platform: @hankskyjames777@c.im and @NautilaTheDrowned2@mastodon.xyz

View file

@ -0,0 +1,467 @@
{
"format_version": "1.16.0",
"minecraft:entity": {
"component_groups": {
"minecraft:adult_drowned": {
"minecraft:behavior.breed": {
"priority": 5,
"speed_multiplier": 1
},
"minecraft:behavior.make_love": {
"priority": 6
},
"minecraft:behavior.receive_love": {
"priority": 7
},
"minecraft:breedable": {
"breedItems": [
"cake",
"bread",
"appleEnchanted"
],
"breedsWith": [
{
"babyType": "minecraft:drowned",
"breed_event": {
"event": "minecraft:entity_born",
"target": "baby"
},
"mateType": "minecraft:player"
}
],
"inheritTamed": true,
"requireTame": false
},
"minecraft:celebrate_hunt": {
"celebration_targets": {
"all_of": [
{
"test": "is_family",
"value": "monster"
}
]
}
},
"minecraft:loot": {
"table": "loot_tables/entities/drowned.json"
}
},
"minecraft:baby_drowned": {
"minecraft:ageable": {
"duration": 1000,
"feedItems": [
{
"growth": 0.016667,
"item": "wheat"
},
{
"growth": 0.025,
"item": "sugar"
},
{
"growth": 0.15,
"item": "tile.hay_block"
},
{
"growth": 0.05,
"item": "apple"
},
{
"growth": 0.05,
"item": "golden_carrot"
},
{
"growth": 0.955,
"item": "bread"
},
{
"growth": 1,
"item": "cake"
}
],
"grow_up": {
"event": "minecraft:ageable_grow_up",
"target": "self"
}
},
"minecraft:is_baby": {},
"minecraft:movement": {
"value": 0.25
},
"minecraft:scale": {
"value": 0.5
},
"minecraft:underwater_movement": {
"value": 0.08
}
},
"minecraft:hunter_mode": {
"minecraft:angry": {
"angry_sound": "angry",
"broadcast_anger_on_attack": true,
"broadcast_anger_on_being_attacked": true,
"broadcastAnger": true,
"broadcastRange": 64,
"calm_event": {
"event": "minecraft:lost_target",
"target": "self"
},
"duration": 30,
"sound_interval": [
"4",
"6"
]
},
"minecraft:navigation.generic": {
"avoid_sun": false,
"can_path_over_water": true,
"can_swim": true,
"can_walk": true,
"is_amphibious": true
},
"minecraft:wander_mode": {
"minecraft:navigation.generic": {
"avoid_sun": false,
"can_path_over_water": false,
"can_swim": true,
"can_walk": true,
"is_amphibious": true
}
}
},
"minecraft:melee_mode": {
"minecraft:attack": {
"damage": 3
},
"minecraft:behavior.melee_attack": {
"priority": 3,
"speed_multiplier": 1,
"track_target": false
},
"minecraft:equipment": {
"slot_drop_chance": [
{
"drop_chance": 1,
"slot": "slot.weapon.offhand"
}
],
"table": "loot_tables/entities/drowned_equipment.json"
}
},
"minecraft:mode_switcher": {
"minecraft:equipment": {
"slot_drop_chance": [
{
"drop_chance": 1,
"slot": "slot.weapon.offhand"
}
],
"table": "loot_tables/entities/pillager_gear.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_ranged",
"target": "self"
},
"outside_range": 5
}
},
"minecraft:ranged_mode": {
"minecraft:behavior.ranged_attack": {
"attack_interval_max": 3,
"attack_interval_min": 1,
"attack_radius": 10,
"priority": 3
},
"minecraft:shooter": {
"def": "minecraft:thrown_trident"
}
}
},
"components": {
"minecraft:behavior.hurt_by_target": {
"priority": 1
},
"minecraft:behavior.look_at_player": {
"look_distance": 6,
"priority": 7,
"probability": 3
},
"minecraft:behavior.move_towards_restriction": {
"priority": 5,
"speed_multiplier": 1
},
"minecraft:behavior.nearest_prioritized_attackable_target": {
"entity_types": [
{
"filters": {
"any_of": [
{
"subject": "other",
"test": "is_family",
"value": "monster"
},
{
"subject": "other",
"test": "is_family",
"value": "illager"
}
]
},
"max_dist": 64,
"priority": 0
}
],
"must_see": false,
"must_see_forget_duration": 30,
"persist_time": 2,
"priority": 2,
"reselect_targets": false,
"within_radius": 32
},
"minecraft:behavior.open_door": {
"close_door_after": true,
"priority": 0
},
"minecraft:behavior.random_look_around": {
"priority": 7
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 1
},
"minecraft:breathable": {
"breathesAir": true,
"breathesWater": true,
"suffocateTime": 0,
"totalSupply": 15
},
"minecraft:can_climb": {},
"minecraft:collision_box": {
"height": 1.8,
"width": 0.6
},
"minecraft:healable": {
"items": [
{
"heal_amount": 2,
"item": "cake"
},
{
"heal_amount": 1,
"item": "sugar"
},
{
"heal_amount": 20,
"item": "bread"
},
{
"heal_amount": 3,
"item": "apple"
},
{
"heal_amount": 4,
"item": "golden_carrot"
},
{
"heal_amount": 10,
"item": "golden_apple"
},
{
"heal_amount": 10,
"item": "appleEnchanted"
}
]
},
"minecraft:health": {
"max": 20,
"value": 20
},
"minecraft:hide": {},
"minecraft:jump.static": {},
"minecraft:movement": {
"value": 0.23
},
"minecraft:movement.generic": {},
"minecraft:nameable": {},
"minecraft:navigation.generic": {
"avoid_sun": false,
"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:type_family": {
"family": [
"player",
"villager",
"friendly"
]
},
"minecraft:underwater_movement": {
"value": 0.06
}
},
"description": {
"identifier": "minecraft:drowned",
"is_experimental": false,
"is_spawnable": true,
"is_summonable": true
},
"events": {
"minecraft:ageable_grow_up": {
"add": {
"component_groups": [
"minecraft:mode_switcher",
"minecraft:adult_drowned"
]
},
"remove": {
"component_groups": [
"minecraft:baby_drowned"
]
}
},
"minecraft:as_adult": {
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:adult_drowned"
]
}
},
"minecraft:as_baby": {
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:baby_drowned"
]
}
},
"minecraft:entity_born": {
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:baby_drowned"
]
},
"remove": {},
"weight": 5
},
"minecraft:entity_spawned": {
"randomize": [
{
"add": {
"component_groups": [
"minecraft:mode_switcher",
"minecraft:ranged_mode",
"minecraft:adult_drowned"
]
},
"remove": {},
"weight": 15
},
{
"randomize": [
{
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:adult_drowned"
]
},
"remove": {},
"weight": 95
},
{
"add": {
"component_groups": [
"minecraft:melee_mode",
"minecraft:baby_drowned"
]
},
"remove": {},
"weight": 5
}
],
"weight": 85
}
]
},
"minecraft:has_target": {
"add": {
"component_groups": [
"minecraft:hunter_mode"
]
},
"remove": {
"component_groups": [
"minecraft:wander_mode"
]
}
},
"minecraft:lost_target": {
"add": {
"component_groups": [
"minecraft:wander_mode"
]
},
"remove": {
"component_groups": [
"minecraft:hunter_mode"
]
}
},
"minecraft:switch_to_melee": {
"add": {
"component_groups": [
"minecraft:melee_mode"
]
},
"remove": {
"component_groups": [
"minecraft:ranged_mode"
]
}
},
"minecraft:switch_to_ranged": {
"add": {
"component_groups": [
"minecraft:ranged_mode"
]
},
"remove": {
"component_groups": [
"minecraft:melee_mode"
]
}
},
"minecraft:switch_to_ranged": {
"add": {
"component_groups": [
"minecraft:ranged_mode"
]
},
"remove": {
"component_groups": [
"minecraft:melee_mode"
]
}
}
}
}
}

View file

@ -29,7 +29,8 @@
}, },
"minecraft:type_family": { "minecraft:type_family": {
"family": [ "family": [
"player" "player",
"curious"
] ]
}, },
"minecraft:loot": { "minecraft:loot": {

View file

@ -1,7 +1,7 @@
{ {
"format_version": 1, "format_version": 1,
"header": { "header": {
"description": "Make a drowned look and sound like a girl, and yourself sound like a drowned.\nAddon by @hankskyjames", "description": "Make a drowned look and sound like a girl \nAddon by @hankskyjames",
"name": "My Drowned Love (Behavior pack)", "name": "My Drowned Love (Behavior pack)",
"uuid": "85d633c2-977b-4e70-a601-5e1e69eaf13a", "uuid": "85d633c2-977b-4e70-a601-5e1e69eaf13a",
"version": [ "version": [

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

View file

@ -0,0 +1,381 @@
{
"format_version": "1.16.0",
"minecraft:geometry": [
{
"bones": [
{
"cubes": [
{
"origin": [
-4,
12,
-2
],
"size": [
8,
12,
4
],
"uv": [
16,
16
]
}
],
"name": "body",
"pivot": [
0,
24,
0
]
},
{
"cubes": [
{
"inflate": 0.5,
"origin": [
-4,
12,
-2
],
"size": [
8,
12,
4
],
"uv": [
16,
32
]
}
],
"name": "jacket",
"parent": "body",
"pivot": [
0,
24,
0
]
},
{
"cubes": [
{
"origin": [
-4,
24,
-4
],
"size": [
8,
8,
8
],
"uv": [
0,
0
]
}
],
"name": "head",
"parent": "body",
"pivot": [
0,
24,
0
]
},
{
"cubes": [
{
"inflate": 0.25,
"origin": [
-4,
24,
-4
],
"size": [
8,
8,
8
],
"uv": [
32,
0
]
}
],
"name": "hat",
"parent": "head",
"pivot": [
0,
24,
0
]
},
{
"cubes": [
{
"origin": [
-8,
12,
-2
],
"size": [
4,
12,
4
],
"uv": [
32,
48
]
}
],
"name": "rightArm",
"parent": "body",
"pivot": [
-5,
22,
0
]
},
{
"cubes": [
{
"inflate": 0.5,
"origin": [
-8,
12,
-2
],
"size": [
4,
12,
4
],
"uv": [
48,
48
]
}
],
"name": "rightSleeve",
"parent": "rightArm",
"pivot": [
-5,
22,
0
]
},
{
"name": "rightItem",
"parent": "rightArm",
"pivot": [
-6,
15,
1
]
},
{
"cubes": [
{
"mirror": true,
"origin": [
4,
12,
-2
],
"size": [
4,
12,
4
],
"uv": [
40,
16
]
}
],
"name": "leftArm",
"parent": "body",
"pivot": [
5,
22,
0
]
},
{
"cubes": [
{
"inflate": 0.5,
"mirror": true,
"origin": [
4,
12,
-2
],
"size": [
4,
12,
4
],
"uv": [
40,
32
]
}
],
"name": "leftSleeve",
"parent": "leftArm",
"pivot": [
5,
22,
0
]
},
{
"name": "leftItem",
"parent": "leftArm",
"pivot": [
6,
15,
1
]
},
{
"cubes": [
{
"origin": [
-4.05,
0,
-2
],
"size": [
4,
12,
4
],
"uv": [
16,
48
]
}
],
"name": "rightLeg",
"parent": "body",
"pivot": [
-1.9,
12,
0
]
},
{
"cubes": [
{
"inflate": 0.25,
"origin": [
-4.25,
0,
-2
],
"size": [
4,
12,
4
],
"uv": [
0,
48
]
}
],
"name": "rightPants",
"parent": "rightLeg",
"pivot": [
-1.9,
12,
0
]
},
{
"cubes": [
{
"mirror": true,
"origin": [
0.05,
0,
-2
],
"size": [
4,
12,
4
],
"uv": [
0,
16
]
}
],
"name": "leftLeg",
"parent": "body",
"pivot": [
1.9,
12,
0
]
},
{
"cubes": [
{
"inflate": 0.25,
"mirror": true,
"origin": [
0.25,
0,
-2
],
"size": [
4,
12,
4
],
"uv": [
0,
32
]
}
],
"name": "leftPants",
"parent": "leftLeg",
"pivot": [
1.9,
12,
0
]
},
{
"name": "waist",
"parent": "body",
"pivot": [
0,
12,
0
]
}
],
"description": {
"identifier": "geometry.zombie.drowned.v1.16",
"texture_height": 64,
"texture_width": 64,
"visible_bounds_height": 3,
"visible_bounds_offset": [
0,
1.5,
0
],
"visible_bounds_width": 3
}
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

View file

@ -57,7 +57,7 @@
"ambient.in.water" : "mob.wanderingtrader.idle", "ambient.in.water" : "mob.wanderingtrader.idle",
"hurt.in.water" : "mob.wanderingtrader.hurt", "hurt.in.water" : "mob.wanderingtrader.hurt",
"death.in.water" : "mob.wanderingtrader.death", "death.in.water" : "mob.wanderingtrader.death",
"mad" : { "angry" : {
"sound" : "mob.wanderingtrader.angry", "sound" : "mob.wanderingtrader.angry",
"volume" : 1.1 "volume" : 1.1
}, },

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -1,459 +0,0 @@
{
"format_version" : "1.16.0",
"minecraft:entity" : {
"description" : {
"identifier" : "minecraft:drowned",
"is_spawnable" : true,
"is_summonable" : true,
"is_experimental" : false
},
"component_groups" : {
"minecraft:baby_drowned" : {
"minecraft:ageable" : {
"duration" : 1000,
"feedItems" : [
{
"item" : "wheat",
"growth" : 0.016667
},
{
"item" : "sugar",
"growth" : 0.025
},
{
"item" : "tile.hay_block",
"growth" : 0.15
},
{
"item" : "apple",
"growth" : 0.05
},
{
"item" : "golden_carrot",
"growth" : 0.05
},
{
"item" : "bread",
"growth" : 0.955
},
{
"item" : "cake",
"growth" : 1
}
],
"grow_up" : {
"event" : "minecraft:ageable_grow_up",
"target" : "self"
}
},
"minecraft:is_baby" : {},
"minecraft:scale" : {
"value" : 0.5
},
"minecraft:movement" : {
"value" : 0.25
},
"minecraft:underwater_movement" : {
"value" : 0.08
}
},
"minecraft:adult_drowned" : {
"minecraft:celebrate_hunt" : {
"celebration_targets" : {
"all_of" : [
{
"test" : "is_family",
"value" : "monster"
}
]
}
},
"minecraft:behavior.make_love" : {
"priority" : 6
},
"minecraft:behavior.receive_love" : {
"priority" : 7
},
"minecraft:behavior.breed" : {
"priority" : 5,
"speed_multiplier" : 1
},
"minecraft:breedable" : { // An assisting player is needed to feed the mating player
"requireTame" : false,
"inheritTamed" : false,
"breedsWith" : [
{
"mateType" : "minecraft:player",
"babyType" : "minecraft:drowned",
"breed_event" : {
"event" : "minecraft:entity_born",
"target" : "baby"
}
}
],
"breedItems" : [ "cake", "bread", "appleEnchanted" ]
},
"minecraft:loot" : {
"table" : "loot_tables/entities/drowned.json"
}
},
"minecraft:mode_switcher" : {
"minecraft:target_nearby_sensor" : {
"inside_range" : 3,
"outside_range" : 5,
"on_inside_range" : {
"event" : "minecraft:switch_to_melee",
"target" : "self"
},
"on_outside_range" : {
"event" : "minecraft:switch_to_ranged",
"target" : "self"
}
},
"minecraft:equipment" : {
"table" : "loot_tables/entities/pillager_gear.json",
"slot_drop_chance" : [
{
"slot" : "slot.weapon.offhand",
"drop_chance" : 1
}
]
}
},
"minecraft:ranged_mode" : {
"minecraft:shooter" : {
"def" : "minecraft:thrown_trident"
},
"minecraft:behavior.ranged_attack" : {
"priority" : 3,
"attack_interval_min" : 1,
"attack_interval_max" : 3,
"attack_radius" : 10
}
},
"minecraft:melee_mode" : {
"minecraft:attack" : {
"damage" : 3
},
"minecraft:behavior.melee_attack" : {
"priority" : 3,
"speed_multiplier" : 1,
"track_target" : false
},
"minecraft:equipment" : {
"table" : "loot_tables/entities/drowned_equipment.json",
"slot_drop_chance" : [
{
"slot" : "slot.weapon.offhand",
"drop_chance" : 1
}
]
}
},
"minecraft:hunter_mode" : {
"minecraft:angry" : {
"duration" : 30,
"broadcastAnger" : true,
"broadcastAngerOnAttack" : true,
"broadcastAngerOnBeingAttacked" : true,
"broadcastRange" : 40,
"calm_event" : {
"event" : "minecraft:lost_target",
"target" : "self"
},
"minecraft:navigation.generic" : {
"is_amphibious" : true,
"can_path_over_water" : true,
"can_swim" : true,
"can_walk" : true,
"avoid_sun" : false
}
},
"minecraft:wander_mode" : {
"minecraft:navigation.generic" : {
"is_amphibious" : true,
"can_path_over_water" : false,
"can_swim" : true,
"can_walk" : true,
"avoid_sun" : false
}
}
}
},
"components" : {
"minecraft:hide" : {},
"minecraft:nameable" : {},
"minecraft:healable" : {
"items" : [
{
"item" : "wheat",
"heal_amount" : 2
},
{
"item" : "sugar",
"heal_amount" : 1
},
{
"item" : "tile.hay_block",
"heal_amount" : 20
},
{
"item" : "apple",
"heal_amount" : 3
},
{
"item" : "golden_carrot",
"heal_amount" : 4
},
{
"item" : "golden_apple",
"heal_amount" : 10
},
{
"item" : "appleEnchanted",
"heal_amount" : 10
}
]
},
"minecraft:type_family" : {
"family" : [ "player", "villager", "friendly" ]
},
"minecraft:collision_box" : {
"width" : 0.6,
"height" : 1.8
},
"minecraft:underwater_movement" : {
"value" : 0.06
},
"minecraft:movement.generic" : {},
"minecraft:jump.static" : {},
"minecraft:can_climb" : {},
"minecraft:health" : {
"value" : 20,
"max" : 20
},
"minecraft:movement" : {
"value" : 0.23
},
"minecraft:breathable" : {
"totalSupply" : 15,
"suffocateTime" : 0,
"breathesAir" : true,
"breathesWater" : true
},
"minecraft:navigation.generic" : {
"is_amphibious" : true,
"can_path_over_water" : true,
"can_swim" : true,
"can_walk" : true,
"avoid_sun" : false
},
"minecraft:behavior.break_door" : {
"priority" : 0
},
"minecraft:behavior.flee_sun" : {
"priority" : 0,
"speed_multiplier" : 1
},
"minecraft:behavior.stomp_turtle_egg" : {
"priority" : 0,
"speed_multiplier" : 1,
"search_range" : 24,
"search_height" : 3,
"goal_radius" : 1.14,
"search_count" : 4,
"interval" : 20
},
"minecraft:behavior.move_towards_restriction" : {
"priority" : 5,
"speed_multiplier" : 1
},
"minecraft:behavior.random_stroll" : {
"priority" : 6,
"speed_multiplier" : 1
},
"minecraft:behavior.look_at_player" : {
"priority" : 7,
"look_distance" : 6,
"probability" : 3
},
"minecraft:behavior.random_look_around" : {
"priority" : 7
},
"minecraft:behavior.hurt_by_target" : {
"priority" : 1
},
"minecraft:behavior.nearest_attackable_target" : {
"priority" : 2,
"within_radius" : 12,
"reselect_targets" : true,
"entity_types" : [
{
"filters" : {
"all_of" : [
{
"any_of" : [
{
"test" : "is_family",
"subject" : "other",
"value" : "monster"
},
{
"test" : "is_family",
"subject" : "other",
"value" : "evoker"
},
{
"test" : "is_family",
"subject" : "other",
"value" : "vindicator"
}
]
},
{
"any_of" : [
{
"test" : "in_water",
"subject" : "other",
"value" : true
},
{
"test" : "is_brightness",
"subject" : "other",
"operator" : "<",
"value" : 0.49
}
]
}
]
},
"max_dist" : 35
},
{
"filters" : {
"all_of" : [
{
"test" : "is_family",
"subject" : "other",
"value" : "baby_zombie"
},
{
"test" : "in_water",
"subject" : "other",
"operator" : "!=",
"value" : true
}
]
},
"max_dist" : 35
}
],
"must_see" : true,
"must_see_forget_duration" : 17,
"persist_time" : 0.5
},
"minecraft:physics" : {},
"minecraft:on_target_acquired" : {
"event" : "minecraft:has_target",
"target" : "self"
},
"minecraft:on_target_escape" : {
"event" : "minecraft:lost_target",
"target" : "self"
}
},
"events" : {
"minecraft:entity_born" : {
"weight" : 5,
"remove" : {},
"add" : {
"component_groups" : [ "minecraft:melee_mode", "minecraft:baby_drowned" ]
}
},
"minecraft:ageable_grow_up" : {
"remove" : {
"component_groups" : [ "minecraft:baby_drowned" ]
},
"add" : {
"component_groups" : [ "minecraft:mode_switcher", "minecraft:adult_drowned" ]
}
},
"minecraft:entity_spawned" : {
"randomize" : [
{
"weight" : 15,
"remove" : {},
"add" : {
"component_groups" : [
"minecraft:mode_switcher",
"minecraft:ranged_mode",
"minecraft:adult_drowned"
]
}
},
{
"weight" : 85,
"randomize" : [
{
"weight" : 95,
"remove" : {},
"add" : {
"component_groups" : [ "minecraft:melee_mode", "minecraft:adult_drowned" ]
}
},
{
"weight" : 5,
"remove" : {},
"add" : {
"component_groups" : [ "minecraft:melee_mode", "minecraft:baby_drowned" ]
}
}
]
}
]
},
"minecraft:as_baby" : {
"add" : {
"component_groups" : [ "minecraft:melee_mode", "minecraft:baby_drowned" ]
}
},
"minecraft:as_adult" : {
"add" : {
"component_groups" : [ "minecraft:melee_mode", "minecraft:adult_drowned" ]
}
},
"minecraft:switch_to_melee" : {
"remove" : {
"component_groups" : [ "minecraft:ranged_mode" ]
},
"add" : {
"component_groups" : [ "minecraft:melee_mode" ]
}
},
"minecraft:switch_to_ranged" : {
"remove" : {
"component_groups" : [ "minecraft:melee_mode" ]
},
"add" : {
"component_groups" : [ "minecraft:ranged_mode" ]
}
},
"minecraft:has_target" : {
"remove" : {
"component_groups" : [ "minecraft:wander_mode" ]
},
"add" : {
"component_groups" : [ "minecraft:hunter_mode" ]
}
},
"minecraft:lost_target" : {
"remove" : {
"component_groups" : [ "minecraft:hunter_mode" ]
},
"add" : {
"component_groups" : [ "minecraft:wander_mode" ]
}
}
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB