mojira.dev

Anghelos92

Assigned

No issues.

Reported

MCPE-170030 RESOLVED: Logs and Fences ID variants don't work for "break_blocks" component and recipes. Cannot Reproduce MCPE-169864 Cannot sneak place blocks on blocks with GUI anymore. Duplicate MCPE-169823 Bad Omen event triggered twice Duplicate

Comments

Problem still present in 1.21.2

Still affecting 1.20.50. Note that, while in adventure mode,  you can use the shovel to turn grass blocks into dirt path but not dirt blocks into dirt path. Please fix this, and make that in adventure mode you can't modify any blocks!

RESOLVED!

I used the minecraft fandom wiki to paste the ids of logs and fences and it seems that when pasting those ids an invisible character is added to the string.

rewriting those ids manually fixed the problem.

I found the error by copy paste the id that was written in the .json to the ingame minecraft chat and it wasn't just the id but another character was being paste, so for example it wasn't just "spruce_log" but it was like "spruce_log‌⏽"

Hi, thanks for the answer. Yes, the problem is still present. It seems that somewhat the "break_blocks" behaviour doesn't recognise the logs and fence variants, like spruce, birch and dark oak. It is no coincidence that it recognize oak logs and acacia...that are log:0 and log2:0... but not the variants log:1, log:2 etc or log2:1 etc.

Yet it recognize stone variants, so stone:1, stone:2 etc, so diorite, granite etc is reconised.

The problem must be in the hardcoded part of the break block behaviour itself.

I updated the attached addon to show my latest addon that is available for public use.

There is now also the iron golem that you can ride, after feeding him with a copper block and then a coal block, that is capable of mining and breaking almost all blocks ...minus these pesky logs and fences.

For further references to my addon see this:

https://mcpedl.com/rule-villages-1-0-3/

I would add that this issue is particularly consistent if you get the bad omen while you are already in a village, getting bad omen away from a village, i.e. in a illager outpost, and then enter a village after some time it will trigger only one regular raid, at least for me.

It is like there are three functions that run at the same time, one that adds the effect, another that triggers the raid and another one that remove the effects, all together having maybe a common variable that, since you get the bad omen in the village, is overwritten at the same time instead of with the right sequence.

 I confirm this bug is still in minecraft version 1.19.83