Improve biome generator performance when interpolators match each other

This commit is contained in:
cyberpwn
2021-09-12 07:46:24 -04:00
parent 7d0555fb67
commit cd7f192fba
3 changed files with 32 additions and 19 deletions

View File

@@ -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