Package org.spout.vanilla.data.configuration

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


  }

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


  @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

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

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

Related Classes of org.spout.vanilla.data.configuration.VanillaConfiguration

Copyright © 2018 www.massapicom. 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.