Skip to content

Commit

Permalink
Mirror dirt sift table if all sieve drops are getting cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
Irgendwer01 committed Dec 4, 2024
1 parent acaa2b1 commit c6c2b02
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,12 @@ private static void processDrops(JsonElement element) {
}

public static void registerRecipes() {
NonNullList<Siftable> siftablesDirt = NonNullList.create();
if (ExNihiloConfig.overrideAllSiftDrops) {
siftablesDirt.addAll(ExNihiloRegistryManager.SIEVE_REGISTRY.getDrops(OreDictUnifier.get("dirt")));
ExNihiloRegistryManager.SIEVE_REGISTRY.getRegistry().clear();
}
processDrops(FileUtility.loadJson(new File(Loader.instance().getConfigDir(), "/gregtech/sieve_drops.json")));
NonNullList<Siftable> siftablesDirt = NonNullList.create();
siftablesDirt.add(new Siftable(new ItemInfo(ExNihiloModule.GTPebbles, 3), 0.1f,
BlockSieve.MeshType.STRING.getID()));
siftablesDirt.add(new Siftable(new ItemInfo(ExNihiloModule.GTPebbles), 0.5f,
Expand Down

0 comments on commit c6c2b02

Please sign in to comment.