Examples of addLightingManager()


Examples of org.spout.api.geo.World.addLightingManager()

        final ManagedMap data = world.getData();
        data.put(VanillaData.GAMEMODE, GameMode.get(worldNode.GAMEMODE.getString()));
        data.put(VanillaData.DIFFICULTY, Difficulty.get(worldNode.DIFFICULTY.getString()));
        data.put(VanillaData.DIMENSION, Dimension.get(worldNode.SKY_TYPE.getString()));

        world.addLightingManager(VanillaLighting.BLOCK_LIGHT);
        world.addLightingManager(VanillaLighting.SKY_LIGHT);

        // Add to worlds
        worlds.add(world);
      }
View Full Code Here

Examples of org.spout.api.geo.World.addLightingManager()

        data.put(VanillaData.GAMEMODE, GameMode.get(worldNode.GAMEMODE.getString()));
        data.put(VanillaData.DIFFICULTY, Difficulty.get(worldNode.DIFFICULTY.getString()));
        data.put(VanillaData.DIMENSION, Dimension.get(worldNode.SKY_TYPE.getString()));

        world.addLightingManager(VanillaLighting.BLOCK_LIGHT);
        world.addLightingManager(VanillaLighting.SKY_LIGHT);

        // Add to worlds
        worlds.add(world);
      }
    }
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.