mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-02 16:05:29 +00:00
Name changes
This commit is contained in:
parent
b771e108b6
commit
878bede60b
@ -13,7 +13,7 @@ public class ExactBiomeColorConverterTemplate extends ExactColorConverterTemplat
|
||||
@Value("match")
|
||||
private ColorMapping<Biome> match;
|
||||
|
||||
@Value("fallback")
|
||||
@Value("else")
|
||||
private Biome fallback;
|
||||
|
||||
@Value("ignore-alpha")
|
||||
|
@ -44,8 +44,8 @@ public class ImageLibraryAddon implements AddonInitializer {
|
||||
.then(event -> {
|
||||
CheckedRegistry<Supplier<ObjectTemplate<ColorSampler>>> colorSamplerRegistry = event.getPack().getOrCreateRegistry(
|
||||
COLOR_PICKER_REGISTRY_KEY);
|
||||
colorSamplerRegistry.register(addon.key("SINGLE"), SingleColorSamplerTemplate::new);
|
||||
colorSamplerRegistry.register(addon.key("TILED"), TileColorSamplerTemplate::new);
|
||||
colorSamplerRegistry.register(addon.key("SINGLE_IMAGE"), SingleColorSamplerTemplate::new);
|
||||
colorSamplerRegistry.register(addon.key("TILED_IMAGE"), TileColorSamplerTemplate::new);
|
||||
colorSamplerRegistry.register(addon.key("COLOR"), ConstantColorSamplerTemplate::new);
|
||||
colorSamplerRegistry.register(addon.key("ROTATE"), RotateColorSamplerTemplate::new);
|
||||
});
|
||||
|
@ -7,7 +7,7 @@ import com.dfsek.terra.addons.image.sampler.SimpleColorSampler;
|
||||
|
||||
|
||||
public class SingleColorSamplerTemplate extends ColorSamplerTemplate {
|
||||
@Value("fallback")
|
||||
@Value("outside-image")
|
||||
private ColorSampler fallback;
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user