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:
25
lobby-addon/lobby_transfer_BP/recipes/portal_frame.json
Normal file
25
lobby-addon/lobby_transfer_BP/recipes/portal_frame.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"format_version": "1.21.40",
|
||||
"minecraft:recipe_shaped": {
|
||||
"description": {
|
||||
"identifier": "silverlabs:portal_frame"
|
||||
},
|
||||
"tags": ["crafting_table"],
|
||||
"pattern": [
|
||||
" O ",
|
||||
"OEO",
|
||||
" O "
|
||||
],
|
||||
"key": {
|
||||
"O": { "item": "minecraft:obsidian" },
|
||||
"E": { "item": "minecraft:ender_pearl" }
|
||||
},
|
||||
"unlock": [
|
||||
{ "item": "minecraft:obsidian" }
|
||||
],
|
||||
"result": {
|
||||
"item": "silverlabs:portal_frame",
|
||||
"count": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
20
lobby-addon/lobby_transfer_BP/recipes/portal_jamie.json
Normal file
20
lobby-addon/lobby_transfer_BP/recipes/portal_jamie.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"format_version": "1.21.40",
|
||||
"minecraft:recipe_shapeless": {
|
||||
"description": {
|
||||
"identifier": "silverlabs:portal_jamie"
|
||||
},
|
||||
"tags": ["crafting_table"],
|
||||
"ingredients": [
|
||||
{ "item": "silverlabs:portal_frame" },
|
||||
{ "item": "minecraft:emerald" }
|
||||
],
|
||||
"unlock": [
|
||||
{ "item": "silverlabs:portal_frame" }
|
||||
],
|
||||
"result": {
|
||||
"item": "silverlabs:portal_jamie",
|
||||
"count": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
20
lobby-addon/lobby_transfer_BP/recipes/portal_lyla.json
Normal file
20
lobby-addon/lobby_transfer_BP/recipes/portal_lyla.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"format_version": "1.21.40",
|
||||
"minecraft:recipe_shapeless": {
|
||||
"description": {
|
||||
"identifier": "silverlabs:portal_lyla"
|
||||
},
|
||||
"tags": ["crafting_table"],
|
||||
"ingredients": [
|
||||
{ "item": "silverlabs:portal_frame" },
|
||||
{ "item": "minecraft:amethyst_shard" }
|
||||
],
|
||||
"unlock": [
|
||||
{ "item": "silverlabs:portal_frame" }
|
||||
],
|
||||
"result": {
|
||||
"item": "silverlabs:portal_lyla",
|
||||
"count": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
20
lobby-addon/lobby_transfer_BP/recipes/portal_mya.json
Normal file
20
lobby-addon/lobby_transfer_BP/recipes/portal_mya.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"format_version": "1.21.40",
|
||||
"minecraft:recipe_shapeless": {
|
||||
"description": {
|
||||
"identifier": "silverlabs:portal_mya"
|
||||
},
|
||||
"tags": ["crafting_table"],
|
||||
"ingredients": [
|
||||
{ "item": "silverlabs:portal_frame" },
|
||||
{ "item": "minecraft:prismarine_crystals" }
|
||||
],
|
||||
"unlock": [
|
||||
{ "item": "silverlabs:portal_frame" }
|
||||
],
|
||||
"result": {
|
||||
"item": "silverlabs:portal_mya",
|
||||
"count": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user