Package buildcraft.api.blueprints

Examples of buildcraft.api.blueprints.BuildingPermission


    } else {
      list.add(StringUtils.localize("item.blueprint.blank"));
    }

    if (NBTUtils.getItemData(stack).hasKey("permission")) {
      BuildingPermission p = BuildingPermission.values()[NBTUtils.getItemData(stack).getByte("permission")];

      if (p == BuildingPermission.CREATIVE_ONLY) {
        list.add(String.format(StringUtils.localize("item.blueprint.creative_only")));
      } else if (p == BuildingPermission.NONE) {
        list.add(String.format(StringUtils.localize("item.blueprint.no_build")));
View Full Code Here

TOP

Related Classes of buildcraft.api.blueprints.BuildingPermission

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.