-
Bug
-
Resolution: Incomplete
-
None
-
1.18.30.21 Preview, 1.18.30.20 Beta, 1.18.12 Hotfix
-
None
-
Unconfirmed
-
Windows
As I understand it, this error appears if the texture id is from block.json is sent to a block that already has a texture id and the geometry replaces it with another one with the same functions.
According to the idea, the first block (scm_block:ston_kirpichi_a) should be a block, the second (scm_block_zip:ston_kirpichi_a) should use geometry
One Block
{ "format_version": "1.18.0", "minecraft:block": { "description": { "identifier": "scm_block:ston_kirpichi_a" }, "components": { "minecraft:creative_category": { "category": "construction" } } } }
Two Block
{ "format_version": "1.18.0", "minecraft:block": { "description": { "identifier": "scm_block_zip:ston_kirpichi_a", "properties": { "decor:face": [ 0, 1, 2, 3 ] }, "is_experimental": true }, "components": { "minecraft:creative_category": { "category": "construction" }, "minecraft:material_instances": { "*": { "texture": "ston_kirpichi_a", "render_method": "alpha_test", "ambient_occlusion": false } }, "minecraft:geometry": "geometry.scm_zip_block", "minecraft:pick_collision": { "origin": [-8, 0, 7], "size": [16, 16, 1] }, "minecraft:entity_collision": { "origin": [-8, 0, 7], "size": [16, 16, 1] }, "minecraft:block_light_absorption": 2, "minecraft:on_player_placing": { "event": "decor:face" } }, "permutations": [ { "condition": "query.block_property('decor:face') == 0", "components": { "minecraft:rotation": [ 0, 180, 0 ] } }, { "condition": "query.block_property('decor:face') == 1", "components": { "minecraft:rotation": [ 0, 0, 0 ] } }, { "condition": "query.block_property('decor:face') == 2", "components": { "minecraft:rotation": [ 0, 270, 0 ] } }, { "condition": "query.block_property('decor:face') == 3", "components": { "minecraft:rotation": [ 0, 90, 0 ] } } ], "events": { "decor:face": { "set_block_property": { "decor:face": "query.cardinal_facing_2d-2" } } } } }
Block.json
{ "ston_kirpichi_a": { "textures": "ston_kirpichi_a", "sound": "stone" } }