
ru.cwcode.tkach.refreshmenu.test.TestConfig Maven / Gradle / Ivy
package ru.cwcode.tkach.refreshmenu.test;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import ru.cwcode.tkach.refreshmenu.configurationUI.Configurable;
import ru.cwcode.tkach.refreshmenu.configurationUI.UIConfigurable;
public class TestConfig implements Configurable {
static TestConfig instance;
@UIConfigurable(name = "Инт", material = Material.DIAMOND)
int intval = 1;
@UIConfigurable
double aDouble = 1.1;
@UIConfigurable
boolean bool = true;
@UIConfigurable
String string = "asd";
@UIConfigurable
Material material = Material.STONE;
@UIConfigurable
ItemStack item = new ItemStack(Material.GLOW_BERRIES);
@UIConfigurable
Location location = null;
private TestConfig() {
}
public static TestConfig getInstance() {
if (instance == null) instance = new TestConfig();
return instance;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy