translation file support

This commit is contained in:
2025-11-07 16:35:40 +01:00
parent 00a216cd38
commit d2ca2f9338
10 changed files with 32 additions and 25 deletions

View File

@@ -2,15 +2,16 @@ package com.kasetoatz.dacl.options;
import com.google.gson.JsonElement;
import com.kasetoatz.dacl.options.validators.AbstractValidator;
import net.minecraft.text.Text;
public class IntOption extends AbstractInputOption<Integer>
{
public IntOption(String text, String key, Integer defaultValue, AbstractValidator<Integer> validator)
public IntOption(Text text, String key, Integer defaultValue, AbstractValidator<Integer> validator)
{
super(text, key, defaultValue, validator);
}
public IntOption(String text, String key, Integer defaultValue)
public IntOption(Text text, String key, Integer defaultValue)
{
super(text, key, defaultValue);
}