mojira.dev

Leo Xiang

Assigned

No issues.

Reported

MC-265477 Stonecutter recipe won't activate recipe unlock advancement repeatly Invalid MC-229934 Wrong translation with "Interactions with Stonecutter" Invalid MC-226435 With the item's name colored, shulker box don't show the item's color correctly Duplicate MC-221872 Wrong generate of the End. Duplicate

Comments

I think we need to re-report this issue, with precise description and correct datapack.

Hi, I encountered exactly same problem in 1.21, this is my datapack with the item modifier I use to modify the carrot on a stick.

[media]

this is the item modifier inside: (I know it's not necessary to add brackets, and still work without it)

[
    {
        "function": "minecraft:set_damage",
        "damage": -0.1,
        "add": true
    }
]

How to reproduce the bug:
1. Use a command below to get the carrot in a stick with max_damage = 100:

/give @p minecraft:carrot_on_a_stick[minecraft:max_damage=100]

2. Use the item modifier provided in the datapack mentioned above when hold the item mentioned in step1.

/item modify entity @p weapon.mainhand test_modifier:set_damage

3. Repeat step 2 exactly 8 times, the damage of the stick being set to 79 instead of 80 (meanwhile durability showed on item became 21 instead of 20).

If you track on the damage value, this is the pattern you might see:
damage: 10 20 30 40 50 60 70 79 89 99 100
durability: 90 80 70 60 50 40 30 21 11 1 0
Hope this help to spot the bug!

 

So, the problem is on furnace, because they still pop up the recipe unlocked advancement when take out item even the recipe is already unlocked, right?

Sorry for the mistake with repository setting and long time unresponsing, I forgot to set public to the repository, I set it to public now, so you can visit the website, also, for conveniance, I make a world includes datapack only we need, and the stuff what you may need for testing, here is the world:

[media]

Yes, it's duplicated.

First, my thought was that the style of item name must same in shulker box's description because the item inside have seemly same style of item name. But in fect, same color like diamond helmet and the paper I named by command looks different in shulker box, like diamond helmet is white, but renamed item is in aqua, also the style of the number behind.

Second, why both of the commad-renamed item seems different in description of shulker box, like why the number behind the blue italiced named diamond sword and aqua named paper looks different?

Finally, as you said, my report is not fully described the issue I encountered, and I forgot this issue for a long time, so thanks for reply and I'm really sorry about no replying for a long time, and also it was been reported earlier by others.

+ Affects Version '1.20.2 Release Candidate 2'

I think this issue is still exist.
Here is how I did in vanilla 1.20.1:
1. Add a recipe "new_recipe:cobblestone" to data pack, it's the recipe that cut the stone to cobblestone using stonecutter.
2. Add a advancement "new_recipe:new_recipe/stonecut_a_stone" and set the trigger to "minecraft:recipe_unlocked", and condition to {"recipe": "new_recipe:cobblestone"}.
3. Stonecut a stone using stonecutter, at the first time, the advancement pop up because of the recipe unlocked.
4. Revoke the advancement "new_recipe:new_recipe/stonecut_a_stone" and stonecut the stone second time, but this time, the advancement didn't pops up.

will, maybe you might think it's normal, because the recipe is already unlocked, but weird thing is, if I did the same thing with furnace and blast furnace recipe, they pop up advancement even the recipe already unlocked.

Therefor, there must one side of them works wrong.

Here is my data pack for this test on github (will, there are also some unrelevent things in it):
Xiang990293/commands-in-server (github.com)

I failed to try, but I was doing it correctly, my version are 1.16.3 and 1.16.5. When I die using this method, the death message came out: "%1$s hit the ground too hard". So, maybe the glitch isn't coming out in each case.
p.s.: I think I successed! https://youtu.be/Ei_0NwjxfKc