Examples of VanillaConfiguration


Examples of org.spout.vanilla.data.configuration.VanillaConfiguration

  }

  @Override
  public void onEnable() {
    instance = this;
    config = new VanillaConfiguration(getDataFolder());
  }
View Full Code Here

Examples of org.spout.vanilla.data.configuration.VanillaConfiguration

  @Override
  public void onEnable() {
    instance = this;
    //Config
    config = new VanillaConfiguration(getDataFolder());
    config.load();
    //Logger
    ((PluginLogger) getLogger()).setTag(ChatStyle.RESET + "[" + ChatStyle.GOLD + "Vanilla" + ChatStyle.RESET + "] ");
    //Spout.getFileSystem().registerLoader(new MapPaletteLoader());
    getEngine().getFileSystem().registerLoader(new RecipeLoader());
View Full Code Here

Examples of org.spout.vanilla.data.configuration.VanillaConfiguration

public class StaticInitialisationOrderTest {
  @Test
  public void materialStaticInitialisationTest() {
    TestVanilla.init();
    VanillaConfiguration config = TestVanilla.getInstance().getConfig();
    VanillaConfiguration.LAVA_DELAY.setConfiguration(config);
    VanillaConfiguration.WATER_DELAY.setConfiguration(config);

    EngineFaker.setupEngine();
    try {
View Full Code Here

Examples of org.spout.vanilla.data.configuration.VanillaConfiguration

public class HealthTest {
  @Test
  public void testHealthComponent() throws IOException {
    TestVanilla.init();
    VanillaConfiguration config = TestVanilla.getInstance().getConfig();
    VanillaConfiguration.PLAYER_SURVIVAL_ENABLE_HEALTH.setConfiguration(config);

    Entity entity = EntityMocker.mockEntity();
    Health health = entity.add(Health.class);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.