mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-03 00:17:15 +00:00
Every Biome is custom
This commit is contained in:
parent
f9d108dbb7
commit
c86815f47b
@ -194,6 +194,12 @@ public class IrisBiome extends IrisRegistrant implements IRare {
|
||||
return getCustomDerivitives() != null && getCustomDerivitives().isNotEmpty();
|
||||
}
|
||||
|
||||
public KList<IrisBiomeCustom> getCustomDerivitives() {
|
||||
if (customDerivitives == null || customDerivitives.isEmpty())
|
||||
setCustomDerivitives(new KList<>(new IrisBiomeCustom().setId(getLoadKey().replaceAll("\\s", "").replaceAll("[^a-z0-9/._-]", ""))));
|
||||
return customDerivitives;
|
||||
}
|
||||
|
||||
public double getGenLinkMax(String loadKey, Engine engine) {
|
||||
Integer v = genCacheMax.aquire(() ->
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user