Base key names on internal names

This commit is contained in:
Astrash committed 2023-03-01 13:39:09 +11:00
1 parent 6efff02c19
commit 2afcee28a6
3 files changed
+4 -4

No files matched your search

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