feat(portals): add craftable portal blocks replacing hardcoded coordinates
Portal frame crafted from obsidian + ender pearl, combined with crystals (emerald/amethyst/prismarine) to create world-specific portal blocks. Stepping on a portal block triggers transfer. Includes resource pack with vanilla textures, block definitions, crafting recipes, and updated script. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
28
lobby-addon/lobby_transfer_BP/blocks/portal_lyla.json
Normal file
28
lobby-addon/lobby_transfer_BP/blocks/portal_lyla.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"format_version": "1.21.40",
|
||||
"minecraft:block": {
|
||||
"description": {
|
||||
"identifier": "silverlabs:portal_lyla",
|
||||
"menu_category": {
|
||||
"category": "items",
|
||||
"group": "itemGroup.name.decorations"
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"minecraft:destructible_by_mining": {
|
||||
"seconds_to_destroy": 5.0
|
||||
},
|
||||
"minecraft:destructible_by_explosion": {
|
||||
"explosion_resistance": 1200.0
|
||||
},
|
||||
"minecraft:light_emission": 10,
|
||||
"minecraft:map_color": "#9B59B6",
|
||||
"minecraft:material_instances": {
|
||||
"*": {
|
||||
"texture": "portal_lyla",
|
||||
"render_method": "opaque"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user