Package me.ashtheking.dragons.world

Examples of me.ashtheking.dragons.world.HoldManager


  }

  private boolean checkSpawn() {
    Location loc = new Location((int) posX, (int) posY, (int) posZ);
    if (mod_Dragon.holdManager == null)
      mod_Dragon.holdManager = new HoldManager(worldObj);
    Hold h = mod_Dragon.holdManager.getHold(loc);
    int x = 5;
    if (h != null) {
      if (h.faction.equals(this.getClass()))
        x = 8;
View Full Code Here


    EntityPlayer p = ModLoader.getMinecraftInstance().thePlayer;
    World world = p.worldObj;
    Location loc = new Location((int) p.posX, (int) p.posY, (int) p.posZ);
    if (mod_Dragon.holdManager == null || mod_Dragon.holdManager.world != world)

      mod_Dragon.holdManager = new HoldManager(world);
    if (world != null && mod_Dragon.holdManager.world != null) {
      Hold h = mod_Dragon.holdManager.getHold(loc);
      if (h != null) {
        bounty = h.bounty;
        currentHold = h.name;
View Full Code Here

TOP

Related Classes of me.ashtheking.dragons.world.HoldManager

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.