diff --git a/BreedableFish/out/bundled/behaviors/entities/salmon.json b/BreedableFish/out/bundled/behaviors/entities/salmon.json new file mode 100644 index 0000000..b07722b --- /dev/null +++ b/BreedableFish/out/bundled/behaviors/entities/salmon.json @@ -0,0 +1,211 @@ +{ + "format_version": "1.8.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:salmon", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + "component_groups": { + "scale_small": { + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:health": { + "value": 6, + "max": 6 + }, + "minecraft:loot": { + "table": "loot_tables/entities/salmon_normal.json" + } + }, + "scale_normal": { + "minecraft:scale": { + "value": 1 + }, + "minecraft:health": { + "value": 6, + "max": 6 + }, + "minecraft:loot": { + "table": "loot_tables/entities/salmon_normal.json" + } + }, + "scale_large": { + "minecraft:scale": { + "value": 1.5 + }, + "minecraft:health": { + "value": 6, + "max": 6 + }, + "minecraft:loot": { + "table": "loot_tables/entities/salmon_large.json" + } + }, + "baby_salmon": { + "minecraft:scale": { + "value": 0.4 + }, + "minecraft:health": { + "value": 4, + "max": 4 + }, + "minecraft:loot": { + "table": "loot_tables/entities/salmon_normal.json" + }, + "minecraft:is_baby": {}, + "minecraft:ageable": { + "duration": 600, + "feedItems": [ + { + "item": "minecraft:dried_kelp" + } + ], + "grow_up": { + "event": "minecraft:grown_up", + "target": "self" + } + } + } + }, + "components": { + "minecraft:type_family": { + "family": [ + "salmon", + "fish" + ] + }, + "minecraft:collision_box": { + "width": 0.5, + "height": 0.5 + }, + "minecraft:breathable": { + "totalSupply": 15, + "suffocateTime": 0, + "breathesAir": false, + "breathesWater": true + }, + "minecraft:movement": { + "value": 0.12 + }, + "minecraft:underwater_movement": { + "value": 0.12 + }, + "minecraft:navigation.generic": { + "is_amphibious": false, + "can_path_over_water": false, + "can_swim": true, + "can_walk": false, + "can_breach": false, + "can_sink": false + }, + "minecraft:movement.sway": { + "sway_amplitude": 0 + }, + "minecraft:physics": { + "has_gravity": false + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 1, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "player" + }, + "max_dist": 3, + "max_flee": 10, + "walk_speed_multiplier": 1.5, + "sprint_speed_multiplier": 2 + } + ] + }, + "minecraft:behavior.swim_idle": { + "priority": 5 + }, + "minecraft:behavior.random_swim": { + "speed_multiplier": 1, + "priority": 3, + "xz_dist": 16, + "y_dist": 4, + "interval": 0 + }, + "minecraft:behavior.swim_wander": { + "priority": 4, + "speed_multiplier": 0.014, + "interval": 60 + }, + "minecraft:nameable": {}, + "minecraft:breedable": { + "requireTame": false, + "breedItems": [ + "minecraft:kelp" + ], + "breedsWith": { + "mateType": "minecraft:salmon", + "babyType": "minecraft:salmon", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + } + }, + "minecraft:behavior.breed": { + "priority": 1, + "speed_multiplier": 0.5 + } + }, + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 30, + "add": { + "component_groups": [ + "adult", + "scale_small" + ] + } + }, + { + "weight": 50, + "add": { + "component_groups": [ + "adult", + "scale_normal" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "adult", + "scale_large" + ] + } + } + ] + }, + "minecraft:entity_born": { + "add": { + "component_groups": [ + "baby_salmon" + ] + }, + "remove": {} + }, + "minecraft:grown_up": { + "add": {}, + "remove": { + "component_groups": [ + "baby_salmon" + ] + } + } + } + } +} \ No newline at end of file diff --git a/BreedableFish/out/bundled/behaviors/manifest.json b/BreedableFish/out/bundled/behaviors/manifest.json new file mode 100644 index 0000000..e68791e --- /dev/null +++ b/BreedableFish/out/bundled/behaviors/manifest.json @@ -0,0 +1,25 @@ +{ + "format_version": 1, + "header": { + "name": "Breedable Fish Behaviors", + "description": "This add-on adds breedable fish into Minecraft! By Julius de Blaaij.", + "uuid": "ff519beb-a5cc-4535-b752-3f86da4c98fc", + "version": [ + 1, + 0, + 0 + ] + }, + "modules": [ + { + "description": "behaviours for Breedable Fish", + "type": "data", + "uuid": "e5574c9f-4516-4172-a0be-9d4a06eb5ec9", + "version": [ + 1, + 0, + 0 + ] + } + ] +} diff --git a/BreedableFish/out/bundled/behaviors/pack_icon.png b/BreedableFish/out/bundled/behaviors/pack_icon.png new file mode 100644 index 0000000..815cc48 Binary files /dev/null and b/BreedableFish/out/bundled/behaviors/pack_icon.png differ diff --git a/BreedableFish/packs/behaviors/entities/salmon.json b/BreedableFish/packs/behaviors/entities/salmon.json index 4451f9d..b07722b 100644 --- a/BreedableFish/packs/behaviors/entities/salmon.json +++ b/BreedableFish/packs/behaviors/entities/salmon.json @@ -46,7 +46,7 @@ }, "baby_salmon": { "minecraft:scale": { - "value": 0.2 + "value": 0.4 }, "minecraft:health": { "value": 4, diff --git a/BreedableFish/packs/behaviors/pack_icon.png b/BreedableFish/packs/behaviors/pack_icon.png index 89c8f7b..815cc48 100644 Binary files a/BreedableFish/packs/behaviors/pack_icon.png and b/BreedableFish/packs/behaviors/pack_icon.png differ