It is known that if you throw a gold ingot to piglin or directly give it to him, then in return for his favorite ingredient, he will give the player any item in the amount of several pieces from the extraction table name:data/minecraft/tags/items/piglin_loved.json. But it turns out that piglin can try to exchange with the player in the observation mode, although in theory, this should not be the case, because in this game mode the player is invisible.
and it doesn't exist materially.
Steps to reproduce:
Put a command block and enter the following command into it: summon minecraft:piglin ~ ~ ~ {IsImmuneToZombification:1}, then swipe 5 repeaters right next to the command block and put a long delay on them, then put a button on the command block to activate it, and another one next to the repeater also to activate it.
Having any gold armor item and 1 gold bar in your inventory and being in survival mode, summon piglin, throw or give him a gold bar in his hands, and then quickly press the button, thereby activating a timer on the repeaters.
After this timer ends, the command unit will put you into observation mode, and piglin will still examine the gold bar, and when he finishes doing this, he will throw the player any item in random quantity from the mining table name:data/minecraft/tags/items/piglin_loved.json.
Environment
Fix this, and make sure that piglin just takes the gold bar into his inventory, and does not throw other items instead.
https://drive.google.com/drive/home?dmr=1&ec=wgc-drive-%5Bmodule%5D-goto (This link needs to be copied and pasted)
Hi!
Thank you for your report!
However, this issue is Working As Intended.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, Redstone, villagers, and animals may not work the same in current versions.
Quick Links:ย
๐โฏIssue Guidelinesโฏโ ๐ฌโฏMojang Supportโฏโ ๐งโฏSuggestionsโฏโ ๐โฏMinecraft Wiki