feat(monkey): add cheeky banana-throwing monkey addon

New silverlabs:cheeky_monkey mob that wanders the lobby watching players
and throwing harmless (knockback-only) silverlabs:banana_projectile at
them. Drops 1-2 silverlabs:banana (food) on death. Spawn rules target
jungle biomes for future deployment to survival worlds; for now the pack
is bind-mounted into the lobby service only.

Also bundles a stray docker-compose tidy from earlier local work
(Jamie's world seed pinned, pet addons dropped from Jamie).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-20 14:19:18 +01:00
parent 64e12603de
commit c176263ec5
23 changed files with 683 additions and 8 deletions

View File

@@ -0,0 +1,41 @@
{
"format_version": "1.21.0",
"minecraft:entity": {
"description": {
"identifier": "silverlabs:banana_projectile",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:collision_box": {
"width": 0.25,
"height": 0.25
},
"minecraft:physics": {},
"minecraft:pushable": {
"is_pushable": false,
"is_pushable_by_piston": false
},
"minecraft:projectile": {
"on_hit": {
"impact_damage": {
"damage": 0,
"knockback": true,
"semi_random_diff_damage": false
},
"remove_on_hit": {}
},
"power": 1.3,
"gravity": 0.05,
"inertia": 0.99,
"liquid_inertia": 0.6,
"anchor": 1,
"offset": [0, -0.1, 0],
"should_bounce": false,
"hit_sound": "mob.slime.small"
}
}
}
}

View File

@@ -0,0 +1,118 @@
{
"format_version": "1.21.0",
"minecraft:entity": {
"description": {
"identifier": "silverlabs:cheeky_monkey",
"is_spawnable": true,
"is_summonable": true,
"is_experimental": false
},
"components": {
"minecraft:type_family": {
"family": ["cheeky_monkey", "monkey", "animal", "mob"]
},
"minecraft:physics": {},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:collision_box": {
"width": 0.5,
"height": 0.9
},
"minecraft:health": {
"value": 8,
"max": 8
},
"minecraft:movement": {
"value": 0.3
},
"minecraft:navigation.walk": {
"can_path_over_water": false,
"avoid_water": true,
"avoid_damage_blocks": true
},
"minecraft:movement.basic": {},
"minecraft:jump.static": {},
"minecraft:can_climb": {},
"minecraft:breathable": {
"total_supply": 15,
"suffocate_time": -1
},
"minecraft:nameable": {},
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
"cause": "lava",
"damage_per_tick": 4
}
]
},
"minecraft:loot": {
"table": "loot_tables/entities/cheeky_monkey.json"
},
"minecraft:shooter": {
"def": "silverlabs:banana_projectile"
},
"minecraft:behavior.float": { "priority": 0 },
"minecraft:behavior.panic": {
"priority": 1,
"speed_multiplier": 1.6
},
"minecraft:behavior.ranged_attack": {
"priority": 3,
"attack_interval_min": 3.0,
"attack_interval_max": 6.0,
"attack_radius": 10.0,
"speed_multiplier": 0.9
},
"minecraft:behavior.nearest_attackable_target": {
"priority": 4,
"within_radius": 16,
"entity_types": [
{
"filters": { "test": "is_family", "subject": "other", "value": "player" },
"max_dist": 16
}
],
"must_see": false,
"reselect_targets": true,
"must_reach": false
},
"minecraft:behavior.move_towards_target": {
"priority": 5,
"speed_multiplier": 0.8,
"within_radius": 10.0
},
"minecraft:behavior.look_at_player": {
"priority": 7,
"target_distance": 14,
"look_time": [3, 7],
"probability": 0.9
},
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 0.7,
"interval": 60,
"xz_dist": 8,
"y_dist": 4
},
"minecraft:behavior.random_look_around": {
"priority": 9,
"look_time": [2, 5]
}
}
}
}