mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-21 07:46:55 +00:00
Every Biome is custom
This commit is contained in:
1 parent
f9d108dbb7
commit
c86815f47b
1 file changed
+6
@@ -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(() ->
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user