diff --git a/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/api/datagen/v1/provider/FabricBlockLootTableProvider.java b/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/api/datagen/v1/provider/FabricBlockLootTableProvider.java index 5e8fe8c82..49e510268 100644 --- a/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/api/datagen/v1/provider/FabricBlockLootTableProvider.java +++ b/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/api/datagen/v1/provider/FabricBlockLootTableProvider.java @@ -49,12 +49,12 @@ import net.fabricmc.fabric.impl.datagen.loot.FabricLootTableProviderImpl; public abstract class FabricBlockLootTableProvider extends BlockLootTableGenerator implements FabricLootTableProvider { private final FabricDataOutput output; private final Set excludedFromStrictValidation = new HashSet<>(); - private final CompletableFuture registryLookup; + private final CompletableFuture registryLookupFuture; protected FabricBlockLootTableProvider(FabricDataOutput dataOutput, CompletableFuture registryLookup) { super(Collections.emptySet(), FeatureFlags.FEATURE_MANAGER.getFeatureSet(), registryLookup.join()); this.output = dataOutput; - this.registryLookup = registryLookup; + this.registryLookupFuture = registryLookup; } /** @@ -111,7 +111,7 @@ public abstract class FabricBlockLootTableProvider extends BlockLootTableGenerat @Override public CompletableFuture run(DataWriter writer) { - return FabricLootTableProviderImpl.run(writer, this, LootContextTypes.BLOCK, output, registryLookup); + return FabricLootTableProviderImpl.run(writer, this, LootContextTypes.BLOCK, output, registryLookupFuture); } @Override