Started work on fixing temple generation (build location detection is acting weird - it almost never can find a good spot even when one exists)
This commit is contained in:
parent
57ecac8075
commit
c352b33c5b
@ -397,7 +397,7 @@ public class AICore {
|
||||
}
|
||||
|
||||
public ItemStack createAncientSword() {
|
||||
ItemStack item = new ItemStack(Material.matchMaterial("GOLD_SWORD"));
|
||||
ItemStack item = new ItemStack(Material.GOLDEN_SWORD);
|
||||
String name = "Ancient Sword";
|
||||
ArrayList<String> lore = new ArrayList<String>();
|
||||
lore.add("AncientSword");
|
||||
|
||||
@ -39,11 +39,11 @@ public class CustomZombie extends EntityZombie implements CustomEntity {
|
||||
getAttributeInstance(GenericAttributes.MAX_HEALTH).setValue(Herobrine.getPluginCore().getConfigDB().npc.getInt("npc.Guardian.HP"));
|
||||
setHealth(Herobrine.getPluginCore().getConfigDB().npc.getInt("npc.Guardian.HP"));
|
||||
setCustomName(new ChatComponentText("Artifact Guardian"));
|
||||
((Zombie) getBukkitEntity()).getEquipment().setItemInMainHand(new ItemStack(Material.matchMaterial("GOLD_SWORD"), 1));
|
||||
((Zombie) getBukkitEntity()).getEquipment().setHelmet(new ItemStack(Material.matchMaterial("GOLD_HELMET"), 1));
|
||||
((Zombie) getBukkitEntity()).getEquipment().setChestplate(new ItemStack(Material.matchMaterial("GOLD_CHESTPLATE"), 1));
|
||||
((Zombie) getBukkitEntity()).getEquipment().setLeggings(new ItemStack(Material.matchMaterial("GOLD_LEGGINGS"), 1));
|
||||
((Zombie) getBukkitEntity()).getEquipment().setBoots(new ItemStack(Material.matchMaterial("GOLD_BOOTS"), 1));
|
||||
((Zombie) getBukkitEntity()).getEquipment().setItemInMainHand(new ItemStack(Material.GOLDEN_SWORD, 1));
|
||||
((Zombie) getBukkitEntity()).getEquipment().setHelmet(new ItemStack(Material.GOLDEN_HELMET, 1));
|
||||
((Zombie) getBukkitEntity()).getEquipment().setChestplate(new ItemStack(Material.GOLDEN_CHESTPLATE, 1));
|
||||
((Zombie) getBukkitEntity()).getEquipment().setLeggings(new ItemStack(Material.GOLDEN_LEGGINGS, 1));
|
||||
((Zombie) getBukkitEntity()).getEquipment().setBoots(new ItemStack(Material.GOLDEN_BOOTS, 1));
|
||||
getBukkitEntity().teleport(loc);
|
||||
}
|
||||
|
||||
|
||||
1374
src/res/temple.yml
1374
src/res/temple.yml
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user