Files
SysAdmin 389e053dc5 feat: add multi-world hub system with lobby portals and hub-return addon
Lobby addon detects players in portal zones at X: -15/0/15 and transfers
them to Jamie/Lyla/Mya survival worlds. Hub-return addon gives players a
recovery compass and chat commands (!hub, !lobby) to return to the lobby.

Includes docker-compose.yml for 4 Bedrock servers (lobby + 3 child worlds),
spark pet behavior/resource packs, and updated .gitignore.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 22:02:56 +00:00

87 lines
2.0 KiB
JSON

{
"format_version": "1.21.0",
"minecraft:entity": {
"description": {
"identifier": "silverlabs:dragon_toy",
"is_spawnable": false,
"is_summonable": true,
"is_experimental": false
},
"component_groups": {
"silverlabs:airborne": {
"minecraft:projectile": {
"on_hit": {
"definition_event": {
"event_trigger": {
"event": "silverlabs:on_landed",
"target": "self"
}
}
},
"power": 1.5,
"gravity": 0.04,
"offset": [0, 0.5, 0],
"should_bounce": true
}
},
"silverlabs:landed": {
"minecraft:physics": {},
"minecraft:health": {
"value": 1,
"max": 1
},
"minecraft:pushable": {
"is_pushable": true,
"is_pushable_by_piston": true
},
"minecraft:loot": {
"table": "loot_tables/gameplay/toy_return.json"
},
"minecraft:timer": {
"time": 60,
"looping": false,
"time_down_event": {
"event": "silverlabs:despawn",
"target": "self"
}
}
},
"silverlabs:despawning": {
"minecraft:instant_despawn": {}
}
},
"components": {
"minecraft:type_family": {
"family": ["dragon_toy"]
},
"minecraft:collision_box": {
"width": 0.3,
"height": 0.3
},
"minecraft:scale": {
"value": 0.6
}
},
"events": {
"minecraft:entity_spawned": {
"add": {
"component_groups": ["silverlabs:airborne"]
}
},
"silverlabs:on_landed": {
"remove": {
"component_groups": ["silverlabs:airborne"]
},
"add": {
"component_groups": ["silverlabs:landed"]
}
},
"silverlabs:despawn": {
"add": {
"component_groups": ["silverlabs:despawning"]
}
}
}
}
}