To reproduce:
Create a test loot table:
{
"pools": [
{
"rolls": 1,
"bonus_rolls": 5,
"entries": [
{
"type": "item",
"weight": 1,
"quality": 100,
"name": "minecraft:rotten_flesh",
"functions": [
{
"function": "set_count",
"count": 1
}
]
},
{
"type": "empty",
"weight": 100
}
]
}
]
}
Then run:
/attribute @p minecraft:generic.luck base set 10
/setblock ~ ~ ~ chest{LootTable:"test:test"} replace
/summon husk ~ ~ ~ {DeathLootTable:"test:test"}
/loot give @p loot foss:test
/loot give @p kill @e[type=husk,limit=1]
/loot give @p fish foss:test ~ ~ ~
Real Output:
The loot command for looting will give you 0 rotten flesh.
The loot command for killing the husk will give you 0 rotten flesh.
The loot command for fishing will also give you 0 rotten flesh.
The chest from setblock will be full of rotten flesh, about 27 of it (for running out of slots).
Actually killing the husk will give you about 50 rotten flesh.
Expected output:
All 3 commands should give about 50 rotten flesh.
Actually opening chests and killing mobs works as expected.
The loot table type does not matter. Has been tested with unset, entity and fishing, and all them behave identically via commands.
Really troll game behavior by Mojang as usual, maybe this can get fixed before 2025 for mapmakers. Cheers.
Linked issues
Comments 12
> We're tracking this issue
Well, if by tracking you mean doing nothing since 2017, alright. I did my part by reporting it.
That mojang doesn't fix it != it being ignored. It has been kept up-to-date all that time since 2017. There was no need for the sarcastic comment.
That wasn't sarcasm, just facts.
What's the point of keeping it up-to-date if nothing is being done about it? Sounds like just a waste of time as it is roughly about the same as ignoring it.
It's still open, it may get fixed by unrelates changes in the code and mojang'd want to be made aware of that. It not being fixed already just means it is not a priority.
I'll also remind you that luck was a feature they intended to remove, but only didn't because of player demand. There's no vanilla usage of it, so it has no actual impact on gameplay, only custom data pack loot tables, and as such, is by no means important to Mojang.
> and fix everything they break in the progress of every change
and (not) fix what they break in the progress of every change, clearly. You're forgetting they're not fixing things here
> Do not assume game development is easy for 1 moment
Yes, Mojang/Microsoft really must suffer with the lack of money and people to hire, good thing they can wipe their tears away with our cash
> Microsoft is not in control of Mojang
This part sounds ok, I can understand that. Although Mojang is also not in control of Mojang either, since if they were, there wouldn't be open bug reports from 2014-2017
If they can't handle their own game (which according to you they can't, as you make them sound very incompetent), they should stop updating it and go back and fix the mess that was left behind, or open source the game/add proper modding support and let people who ACTUALLY know how to fix the game do their thing.
They can't catch everything in their tests.
Money has nothing to do with difficulty of coding the game... And more chefs doesn't make a better soup.
I'd like to see you try and develop this game. You wouldn't be able to develop it half as decently.
I never said nor implied they canvt handle the game, and stopping development like that is going to cause a huge community outburst. Modders aren't better than Mojang, most mods out there are hack-fixing stuff, and not actually adding proper fixes (so things start to crack again when build on top of), this is precisely the problem Mojang is tackling for years, ancient quickly mashed together code by notch that makes the whole game fall apart.
It is clear to me you know absolutely nothing about (game) development, and as such are in no place to judge the devs for they efforts and job. I'm done talking to you.
Edit: was typing this as your messages were send. Apologies, but I felt like some of these things just had to be said. And for the record, only in this last message is an opinion present, not any of the other ones.
"these things just had to be said" that's just your ego feeding into your obsession of defending someone who is wrong, nothing that you said makes sense and by this point you're just trying to diminish others including me and modders to compensate for your lack of arguments.
Can you please stop reviving this discussion now before I get banned because of your nonsense? Thanks
Thank you for your report!
We're tracking this issue in MC-120523, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.