#Loot Changing/Spawning Mod
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
If anyone decides to do this, this might be a good approach:
LootTableEvents.MODIFY.register((ResourceKey<LootTable> id, LootTable.Builder builder, LootTableSource source, HolderLookup.Provider holderLookupProvider) -> {
if (id.location().getPath().contains("chest")) {
// MODIFY LOOT TABLE HERE
}
});
I was told to try this out, so I can get how it works, but it didnt work
I did this as a datapack, can anyone let me know if I have any mistakes or whatever?