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,17 @@
{
"format_version": 2,
"header": {
"name": "Lobby Portal Transfer Resources",
"description": "Textures and lang for craftable portal blocks",
"uuid": "b2c3d4e5-1111-2222-3333-fedcba654321",
"version": [1, 0, 0],
"min_engine_version": [1, 21, 0]
},
"modules": [
{
"type": "resources",
"uuid": "b2c3d4e5-4444-5555-6666-fedcba987654",
"version": [1, 0, 0]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 971 B

View File

@@ -0,0 +1,4 @@
tile.silverlabs:portal_frame.name=Portal Frame
tile.silverlabs:portal_jamie.name=Jamie's World Portal
tile.silverlabs:portal_lyla.name=Lyla's World Portal
tile.silverlabs:portal_mya.name=Mya's World Portal

View File

@@ -0,0 +1,20 @@
{
"resource_pack_name": "lobby_transfer_RP",
"texture_name": "atlas.terrain",
"padding": 8,
"num_mip_levels": 4,
"texture_data": {
"portal_frame": {
"textures": "textures/blocks/end_portal_frame_top"
},
"portal_jamie": {
"textures": "textures/blocks/emerald_block"
},
"portal_lyla": {
"textures": "textures/blocks/amethyst_block"
},
"portal_mya": {
"textures": "textures/blocks/prismarine_bricks"
}
}
}