update: I just had to smack a new CompletableFuture<>() as a fourth argument and that seemed to fix it :D

I’m trying to make a minecraft mod and I’ve been following a tutorial and so far it’s worked pretty well until

        return new LootTableProvider(output, Set.of(), List.of(
               ^
  required: PackOutput,Set<ResourceKey<LootTable>>,List<SubProviderEntry>,CompletableFuture<Provider>
  found:    PackOutput,Set<Object>,List<SubProviderEntry>
  reason: actual and formal argument lists differ in length

I know that the error is because the argument lengths are different but WHAT THE HELL IS A COMPLETEABLE FUTURE???

I know very little about Java ):

Jun 13, 2024, 9:39 PM
5 1 0

comments