diff --git a/schemas/pluginJson.schema.json b/schemas/pluginJson.schema.json index 873827bf..fb9ed438 100644 --- a/schemas/pluginJson.schema.json +++ b/schemas/pluginJson.schema.json @@ -12,6 +12,7 @@ "export_namespace", "bounding_box", "display_item", + "custom_model_data_offset", "baked_animations" ], "properties": { @@ -36,6 +37,11 @@ "default": "minecraft:white_dye", "description": "The item to display the Blueprints models in-game. Multiple Blueprints can be placed on the same item and they will be merged automatically." }, + "custom_model_data_offset": { + "type": "number", + "default": 0, + "description": "The offset to use for the Custom Model Data of the Display Item. Allows multiple Blueprints on the same item, but in separate, unaffiliated Resource Packs." + }, "baked_animations": { "type": "boolean", "default": true, diff --git a/src/components/blueprintSettingsDialog.svelte b/src/components/blueprintSettingsDialog.svelte index d4c077a2..db1f5e04 100644 --- a/src/components/blueprintSettingsDialog.svelte +++ b/src/components/blueprintSettingsDialog.svelte @@ -500,6 +500,12 @@ valueChecker={displayItemChecker} /> + + [ texture.uuid, serializeTexture(id, texture),