mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-03 16:35:50 +00:00
move elevation interpolation to new addon
This commit is contained in:
parent
c68d092814
commit
b9c77fbdfa
@ -0,0 +1,12 @@
|
|||||||
|
package com.dfsek.terra.addons.chunkgenerator.config;
|
||||||
|
|
||||||
|
import com.dfsek.tectonic.config.ConfigTemplate;
|
||||||
|
|
||||||
|
|
||||||
|
public class NoiseChunkGeneratorPackConfig implements ConfigTemplate {
|
||||||
|
private final int elevationBlend;
|
||||||
|
|
||||||
|
public NoiseChunkGeneratorPackConfig(int elevationBlend) {
|
||||||
|
this.elevationBlend = elevationBlend;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,19 @@
|
|||||||
|
package com.dfsek.terra.addons.chunkgenerator.config;
|
||||||
|
|
||||||
|
import com.dfsek.tectonic.annotations.Default;
|
||||||
|
import com.dfsek.tectonic.annotations.Value;
|
||||||
|
import com.dfsek.tectonic.config.ConfigTemplate;
|
||||||
|
import com.dfsek.tectonic.loading.object.ObjectTemplate;
|
||||||
|
|
||||||
|
import com.dfsek.terra.api.config.meta.Meta;
|
||||||
|
|
||||||
|
|
||||||
|
public class NoiseChunkGeneratorPackConfigTemplate implements ConfigTemplate {
|
||||||
|
@Value("blend.terrain.elevation")
|
||||||
|
@Default
|
||||||
|
private @Meta int elevationBlend = 4;
|
||||||
|
|
||||||
|
public int getElevationBlend() {
|
||||||
|
return elevationBlend;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
import com.dfsek.terra.version
|
||||||
|
|
||||||
|
version = version("0.1.0")
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
shadedApi(project(":common:addons:manifest-addon-loader"))
|
||||||
|
shadedApi(project(":common:addons:chunk-generator-noise-3d"))
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
schema-version: 1
|
||||||
|
contributors:
|
||||||
|
- Terra contributors
|
||||||
|
id: structure-terrascript-loader
|
||||||
|
version: @VERSION@
|
||||||
|
entrypoints:
|
||||||
|
- "com.dfsek.terra.addons.terrascript.TerraScriptAddon"
|
||||||
|
website:
|
||||||
|
issues: https://github.com/PolyhedralDev/Terra-structure-terrascript-loader/issues
|
||||||
|
source: https://github.com/PolyhedralDev/Terra-structure-terrascript-loader
|
||||||
|
docs: https://github.com/PolyhedralDev/Terra/wiki
|
||||||
|
license: GNU LGPL v3.0
|
Loading…
x
Reference in New Issue
Block a user