Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e80fcde9e6 | ||
|
|
ab56a1a865 | ||
|
|
40e8b059ce | ||
|
|
402e6d64dc |
@@ -21,6 +21,10 @@ jobs:
|
||||
run: |
|
||||
zip -9 -r repo.zip . -x ".git/*" "repo.zip"
|
||||
|
||||
- name: Generate SHA-1
|
||||
run: |
|
||||
sha1sum repo.zip | cut -d' ' -f1 > repo.zip.sha1
|
||||
|
||||
- name: Generate release metadata and body
|
||||
id: meta
|
||||
shell: bash
|
||||
@@ -53,6 +57,8 @@ jobs:
|
||||
tag_name: ${{ steps.meta.outputs.tag }}
|
||||
name: ${{ steps.meta.outputs.name }}
|
||||
body_path: RELEASE_BODY.md
|
||||
files: repo.zip
|
||||
files: |
|
||||
repo.zip
|
||||
repo.zip.sha1
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.6 KiB |
@@ -58,4 +58,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"model": {
|
||||
"type": "select",
|
||||
"property": "custom_model_data",
|
||||
"fallback": {
|
||||
"type": "model",
|
||||
"model": "item/generated"
|
||||
},
|
||||
"cases": [
|
||||
{
|
||||
"when": "interior_shop0",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/interior_shop0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": "pawn_shop1",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/pawn_shop1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": "food_mart2",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/food_mart2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": "hat_shop3",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/hat_shop3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": "clothing_shop4",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/clothing_shop4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": "jump_up5",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/jump_up5"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": "city_under_siege6",
|
||||
"model": {
|
||||
"type": "model",
|
||||
"model": "item/city_under_siege6"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
# Generic helper for giving custom items with a custom model.
|
||||
# Example usage:
|
||||
# function new_music:custom_items/give {item:"minecraft:paper", model:"city_under_siege6"}
|
||||
give @s $(item)[minecraft:custom_model_data={strings:["$(model)"]}]
|
||||
@@ -0,0 +1,6 @@
|
||||
# Generic registration helper for custom item models.
|
||||
# This keeps the item namespace separate from the display model name.
|
||||
# Usage: function new_music:custom_items/register {item:"minecraft:paper", model:"city_under_siege6"}
|
||||
|
||||
# The resource pack handles the visual model via the shared item selector.
|
||||
# This function exists as a general entry point for future custom items.
|
||||
Reference in New Issue
Block a user