Skip to content

Commit

Permalink
Changed pack_icon, changed baby_salmon scale from 0.2 to 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusdeblaaij committed Jul 4, 2019
1 parent 9da6de4 commit 1fc5893
Show file tree
Hide file tree
Showing 5 changed files with 237 additions and 1 deletion.
211 changes: 211 additions & 0 deletions BreedableFish/out/bundled/behaviors/entities/salmon.json
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"
]
}
}
}
}
}
25 changes: 25 additions & 0 deletions BreedableFish/out/bundled/behaviors/manifest.json
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
]
}
]
}
Binary file added BreedableFish/out/bundled/behaviors/pack_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion BreedableFish/packs/behaviors/entities/salmon.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"baby_salmon": {
"minecraft:scale": {
"value": 0.2
"value": 0.4
},
"minecraft:health": {
"value": 4,
Expand Down
Binary file modified BreedableFish/packs/behaviors/pack_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1fc5893

Please sign in to comment.