mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 10:30:42 +00:00
Base key names on internal names
This commit is contained in:
@@ -27,10 +27,10 @@ public class ImageProviderTemplate implements ObjectTemplate<BiomeProvider> {
|
||||
@Description("Sets the resolution at which to sample the image.")
|
||||
private int resolution = 1;
|
||||
|
||||
@Value("image")
|
||||
@Value("color-sampler")
|
||||
private ColorSampler colorSampler;
|
||||
|
||||
@Value("biomes")
|
||||
@Value("color-conversion")
|
||||
private ColorConverter<Biome> colorConverter;
|
||||
|
||||
@Override
|
||||
|
||||
@@ -7,7 +7,7 @@ import com.dfsek.terra.addons.image.sampler.image.SingleImageColorSampler;
|
||||
|
||||
|
||||
public class SingleImageColorSamplerTemplate extends ImageColorSamplerTemplate {
|
||||
@Value("outside-image")
|
||||
@Value("outside-sampler")
|
||||
private ColorSampler fallback;
|
||||
|
||||
@Override
|
||||
|
||||
@@ -8,6 +8,6 @@ import com.dfsek.terra.addons.image.sampler.ColorSampler;
|
||||
|
||||
public abstract class MutateColorSamplerTemplate implements ObjectTemplate<ColorSampler> {
|
||||
|
||||
@Value("image")
|
||||
@Value("color-sampler")
|
||||
protected ColorSampler sampler;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user