Package net.minecraft.server

Examples of net.minecraft.server.IDataManager


   *
   * @param world (can not be null)
   * @return players folder
   */
  public static File getPlayersFolder(org.bukkit.World world) {
    IDataManager man = CommonNMS.getNative(world).getDataManager();
    if (man instanceof WorldNBTStorage) {
      return ((WorldNBTStorage) man).getPlayerDir();
    }
    return new File(getWorldFolder(world), "playerdata");
  }
View Full Code Here

TOP

Related Classes of net.minecraft.server.IDataManager

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.