Open RafaOryan17 opened 1 month ago
@RafaOryan17 Mojang changed a lot of things in Forge 1.20.2, so all of the tutorials are made for 1.20.1. Downgrade to that, and all code from the tutorials should work. Unfortunate, I know, but that is the best we can do without rewriting all code. Hopefully 1.21 Tutorials show how we can do some of those things.
I have a problem with ModLootTableProvider. Once I finish ModBlocksLootTables, I get this error in ModLootTableProvider (the code is literally copy-pasted and I just changed the blocks; maybe it's due to the version since I'm doing it in 1.20.6).
The error: 'LootTableProvider(net.minecraft.data.PackOutput, java.util.Set<net.minecraft.resources.ResourceKey>, java.util.List, java.util.concurrent.CompletableFuture)' in 'net.minecraft.data.loot.LootTableProvider' cannot be applied to '(net.minecraft.data.PackOutput, java.util.Set<net.minecraft.resources.ResourceKey>, java.util.List)'