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:
2026-03-19 14:23:23 +00:00
parent 5eefd26f67
commit d9eafd2c12
15 changed files with 273 additions and 68 deletions

View File

@@ -0,0 +1,28 @@
{
"format_version": "1.21.40",
"minecraft:block": {
"description": {
"identifier": "silverlabs:portal_mya",
"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": "#4FC1E9",
"minecraft:material_instances": {
"*": {
"texture": "portal_mya",
"render_method": "opaque"
}
}
}
}
}