Improve biome generator performance when interpolators match each other

This commit is contained in:
cyberpwn committed 2021-09-12 07:46:24 -04:00
1 parent 7d0555fb67
commit cd7f192fba
3 files changed
+32 -19

No files matched your search

@@ -35,8 +35,6 @@ import java.util.function.Supplier;
public class IrisAPI
{
private static final AtomicCache<RegistryHolder<Supplier<BlockData>>> customBlock = new AtomicCache<>();
private static final AtomicCache<RegistryHolder<AwareBlockMirror>> customAwareBlock = new AtomicCache<>();
private static final AtomicCache<RegistryHolder<APIWorldBlock>> customWorldBlock = new AtomicCache<>();
/**
* Checks if the given world is an Iris World