-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed pack_icon, changed baby_salmon scale from 0.2 to 0.4
- Loading branch information
1 parent
9da6de4
commit 1fc5893
Showing
5 changed files
with
237 additions
and
1 deletion.
There are no files selected for viewing
211 changes: 211 additions & 0 deletions
211
BreedableFish/out/bundled/behaviors/entities/salmon.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
] | ||
} | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.