feat(smart-crafting): add smart crafting table using private chest inventory
All checks were successful
Deploy Addons / deploy (push) Successful in 14s
All checks were successful
Deploy Addons / deploy (push) Successful in 14s
Adds an upgraded crafting block that scans the player's owned private chests and aggregates their contents with the personal inventory when deciding which recipes are craftable. Ingredients are consumed from the player first then from chests; the result goes to the player (or drops at their feet). Also redraws the post_office and mailbox block textures via a new scripts/build-textures.py generator. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
4
smart-crafting-addon/smart_crafting_RP/blocks.json
Normal file
4
smart-crafting-addon/smart_crafting_RP/blocks.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"format_version": [1, 1, 0],
|
||||
"silverlabs:smart_crafting_table": { "sound": "wood" }
|
||||
}
|
||||
17
smart-crafting-addon/smart_crafting_RP/manifest.json
Normal file
17
smart-crafting-addon/smart_crafting_RP/manifest.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"format_version": 2,
|
||||
"header": {
|
||||
"name": "Smart Crafting Table Resources",
|
||||
"description": "Texture and lang for the silverlabs:smart_crafting_table block",
|
||||
"uuid": "a4c2e1f8-3b7d-4f9e-a1c5-8d2e7b4f3a94",
|
||||
"version": [1, 0, 0],
|
||||
"min_engine_version": [1, 21, 0]
|
||||
},
|
||||
"modules": [
|
||||
{
|
||||
"type": "resources",
|
||||
"uuid": "a4c2e1f8-3b7d-4f9e-a1c5-8d2e7b4f3a95",
|
||||
"version": [1, 0, 0]
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
smart-crafting-addon/smart_crafting_RP/pack_icon.png
Normal file
BIN
smart-crafting-addon/smart_crafting_RP/pack_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 971 B |
1
smart-crafting-addon/smart_crafting_RP/texts/en_US.lang
Normal file
1
smart-crafting-addon/smart_crafting_RP/texts/en_US.lang
Normal file
@@ -0,0 +1 @@
|
||||
tile.silverlabs:smart_crafting_table.name=Smart Crafting Table
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 407 B |
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"resource_pack_name": "smart_crafting_RP",
|
||||
"texture_name": "atlas.terrain",
|
||||
"padding": 8,
|
||||
"num_mip_levels": 4,
|
||||
"texture_data": {
|
||||
"smart_crafting_table": {
|
||||
"textures": "textures/blocks/smart_crafting_table"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user