Posted March 17, 20232 yr I want to have a zombie to have a 20% chance to drop 1 bone and a 5% chance to drop 1 slimeball. How do I do this? I am aware that the latest version is in 1.19.2 but I think it should still work for 1.19.3
March 17, 20232 yr If you are writing a mod then you should use GLMs to modify the loot tables (so you play nicely with other mods trying to do the same thing). https://forge.gemwire.uk/wiki/Dynamic_Loot_Modification Otherwise, you can do it the vanilla way with a datapack by providing your own zombie loot table(s) https://minecraft.fandom.com/wiki/Loot_table Extractions of the vanilla entity drop loot tables can be found here: https://github.com/misode/mcmeta/tree/data/data/minecraft/loot_tables/entities Or you can use one of the scripting mods, e.g. https://mods.latvian.dev/books/kubejs-legacy/page/loot-table-modification https://docs.blamejared.com/1.19/en/vanilla/api/loot/table/LootTableManager Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.