From 9b0303f1d77a2fdedd7bd7886716833e337050f5 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Tue, 8 Jun 2021 09:55:24 +0300 Subject: [PATCH] Item patterns fix --- .../assets/bclib/models/block/chest_item.json | 190 ++++++++++++++++++ .../patterns/item/pattern_block_item.json | 2 +- .../bclib/patterns/item/pattern_button.json | 2 +- .../bclib/patterns/item/pattern_chest.json | 4 +- .../bclib/patterns/item/pattern_fence.json | 2 +- .../patterns/item/pattern_item_generated.json | 2 +- .../patterns/item/pattern_item_handheld.json | 2 +- .../bclib/patterns/item/pattern_wall.json | 4 +- 8 files changed, 199 insertions(+), 9 deletions(-) create mode 100644 src/main/resources/assets/bclib/models/block/chest_item.json diff --git a/src/main/resources/assets/bclib/models/block/chest_item.json b/src/main/resources/assets/bclib/models/block/chest_item.json new file mode 100644 index 00000000..c0a3265f --- /dev/null +++ b/src/main/resources/assets/bclib/models/block/chest_item.json @@ -0,0 +1,190 @@ +{ + "__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio", + "parent": "block/block", + "elements": [ + { + "__comment": "Box1", + "faces": { + "down": { + "rotation": 180, + "texture": "#texture", + "uv": [ + 3.5, + 4.75, + 7, + 8.25 + ] + }, + "east": { + "texture": "#texture", + "uv": [ + 3.5, + 10.75, + 7, + 8.25 + ] + }, + "north": { + "texture": "#texture", + "uv": [ + 10.5, + 10.75, + 14, + 8.25 + ] + }, + "south": { + "texture": "#texture", + "uv": [ + 0, + 10.75, + 3.5, + 8.25 + ] + }, + "west": { + "texture": "#texture", + "uv": [ + 7, + 10.75, + 10.5, + 8.25 + ] + } + }, + "from": [ + 1, + 0, + 1 + ], + "to": [ + 15, + 10, + 15 + ] + }, + { + "__comment": "Box1", + "faces": { + "east": { + "texture": "#texture", + "uv": [ + 3.5, + 4.75, + 7, + 3.75 + ] + }, + "north": { + "texture": "#texture", + "uv": [ + 10.5, + 4.75, + 14, + 3.75 + ] + }, + "south": { + "texture": "#texture", + "uv": [ + 0, + 4.75, + 3.5, + 3.75 + ] + }, + "up": { + "rotation": 180, + "texture": "#texture", + "uv": [ + 7, + 0, + 10.5, + 3.5 + ] + }, + "west": { + "texture": "#texture", + "uv": [ + 7, + 4.75, + 10.5, + 3.75 + ] + } + }, + "from": [ + 1, + 10, + 1 + ], + "to": [ + 15, + 14, + 15 + ] + }, + { + "__comment": "Box1", + "faces": { + "down": { + "rotation": 180, + "texture": "#texture", + "uv": [ + 0.25, + 0, + 0.75, + 0.25 + ] + }, + "east": { + "texture": "#texture", + "uv": [ + 0, + 1.25, + 0.25, + 0.25 + ] + }, + "north": { + "texture": "#texture", + "uv": [ + 0.5, + 1.25, + 1, + 0.25 + ] + }, + "up": { + "rotation": 180, + "texture": "#texture", + "uv": [ + 0.75, + 0, + 1.25, + 0.25 + ] + }, + "west": { + "texture": "#texture", + "uv": [ + 0, + 1.25, + 0.25, + 0.25 + ] + } + }, + "from": [ + 7, + 7, + 0 + ], + "to": [ + 9, + 11, + 1 + ] + } + ] +} diff --git a/src/main/resources/assets/bclib/patterns/item/pattern_block_item.json b/src/main/resources/assets/bclib/patterns/item/pattern_block_item.json index 79412c0a..81948061 100644 --- a/src/main/resources/assets/bclib/patterns/item/pattern_block_item.json +++ b/src/main/resources/assets/bclib/patterns/item/pattern_block_item.json @@ -1,6 +1,6 @@ { "parent": "item/generated", "textures": { - "layer0": "betterend:block/%texture%" + "layer0": "%modid%:block/%texture%" } } diff --git a/src/main/resources/assets/bclib/patterns/item/pattern_button.json b/src/main/resources/assets/bclib/patterns/item/pattern_button.json index a9af699c..7cc6b6e0 100644 --- a/src/main/resources/assets/bclib/patterns/item/pattern_button.json +++ b/src/main/resources/assets/bclib/patterns/item/pattern_button.json @@ -1,6 +1,6 @@ { "parent": "block/button_inventory", "textures": { - "texture": "betterend:block/%texture%" + "texture": "%modid%:block/%texture%" } } \ No newline at end of file diff --git a/src/main/resources/assets/bclib/patterns/item/pattern_chest.json b/src/main/resources/assets/bclib/patterns/item/pattern_chest.json index 1febc69c..c80649b4 100644 --- a/src/main/resources/assets/bclib/patterns/item/pattern_chest.json +++ b/src/main/resources/assets/bclib/patterns/item/pattern_chest.json @@ -1,6 +1,6 @@ { - "parent": "betterend:block/chest_item", + "parent": "bclib:block/chest_item", "textures": { - "texture": "betterend:entity/chest/%texture%" + "texture": "%modid%:entity/chest/%texture%" } } diff --git a/src/main/resources/assets/bclib/patterns/item/pattern_fence.json b/src/main/resources/assets/bclib/patterns/item/pattern_fence.json index c3906066..809d8540 100644 --- a/src/main/resources/assets/bclib/patterns/item/pattern_fence.json +++ b/src/main/resources/assets/bclib/patterns/item/pattern_fence.json @@ -1,6 +1,6 @@ { "parent": "block/fence_inventory", "textures": { - "texture": "betterend:block/%texture%" + "texture": "%modid%:block/%texture%" } } diff --git a/src/main/resources/assets/bclib/patterns/item/pattern_item_generated.json b/src/main/resources/assets/bclib/patterns/item/pattern_item_generated.json index 65ac21fc..17ffcba3 100644 --- a/src/main/resources/assets/bclib/patterns/item/pattern_item_generated.json +++ b/src/main/resources/assets/bclib/patterns/item/pattern_item_generated.json @@ -1,6 +1,6 @@ { "parent": "item/generated", "textures": { - "layer0": "betterend:item/%texture%" + "layer0": "%modid%:item/%texture%" } } diff --git a/src/main/resources/assets/bclib/patterns/item/pattern_item_handheld.json b/src/main/resources/assets/bclib/patterns/item/pattern_item_handheld.json index 0e621762..b2c71ca2 100644 --- a/src/main/resources/assets/bclib/patterns/item/pattern_item_handheld.json +++ b/src/main/resources/assets/bclib/patterns/item/pattern_item_handheld.json @@ -1,6 +1,6 @@ { "parent": "item/handheld", "textures": { - "layer0": "betterend:item/%texture%" + "layer0": "%modid%:item/%texture%" } } diff --git a/src/main/resources/assets/bclib/patterns/item/pattern_wall.json b/src/main/resources/assets/bclib/patterns/item/pattern_wall.json index 90c7ea9a..85d64810 100644 --- a/src/main/resources/assets/bclib/patterns/item/pattern_wall.json +++ b/src/main/resources/assets/bclib/patterns/item/pattern_wall.json @@ -1,6 +1,6 @@ { - "parent": "minecraft:block/wall_inventory", + "parent": "block/wall_inventory", "textures": { - "wall": "betterend:block/%texture%" + "wall": "%modid%:block/%texture%" } } \ No newline at end of file