mojira.dev
MCPE-152934

Duplicate blocks, block.json problem

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" }
}

Attachments

Comments 2

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

For any account or purchasing related issues, please contact Minecraft Customer Support directly, as we cannot assist with those here at the bug tracker.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Dima Sever

(Unassigned)

Unconfirmed

Windows

Windows 10

1.18.30.21 Preview, 1.18.30.20 Beta, 1.18.12 Hotfix

Retrieved