fix(weaver-pojo-attributes-ext)!: Rename values to value for more consistency

This commit is contained in:
2025-11-08 21:29:30 +01:00
parent 577039923b
commit bf6cd05a63
5 changed files with 9 additions and 9 deletions

View File

@@ -20,9 +20,9 @@ public class TweedCoatBridgeTestModConfig {
@Validator(value = WeavableNumberRangeValidator.class, config = "-10=..=10")
private int integerInRange = -5;
@Attribute(key = TweedCoatAttributes.BACKGROUND_TEXTURE, values = "textures/block/green_terracotta.png")
@Attribute(key = TweedCoatAttributes.BACKGROUND_TEXTURE, value = "textures/block/green_terracotta.png")
private Greeting serverGreeting = new Greeting("Hello server!", "Server");
@Attribute(key = TweedCoatAttributes.BACKGROUND_TEXTURE, values = "textures/block/red_terracotta.png")
@Attribute(key = TweedCoatAttributes.BACKGROUND_TEXTURE, value = "textures/block/red_terracotta.png")
private Greeting clientGreeting = new Greeting("Hello client!", "Client");
@CompoundWeaving

View File

@@ -13,7 +13,7 @@ import lombok.Data;
@Data
public class TestModConfig {
private String helloStart = "Minecraft";
@Attribute(key = "scope", values = "game")
@Attribute(key = "scope", value = "game")
private String helloInGame = "Game";
private String helloEnd = "!";
}