From 5bf30e3b8d610c22b0e9ec1c7d262b8cae15bde6 Mon Sep 17 00:00:00 2001 From: oitsjustjose Date: Mon, 8 Jul 2013 22:13:27 -0500 Subject: [PATCH] Updating for 1.6.2 changes --- common/MysticOres/Blocks/BlockBase.java | 4 +- common/MysticOres/LanguageManager.java | 2 +- common/MysticOres/RecipeManager.java | 4 +- .../MysticRuins/StructureMysticDungeon.java | 14 +++--- common/MysticRuins/StructureRuin$1.java | 2 +- common/MysticRuins/StructureRuin.java | 2 +- common/MysticWorld/Client/FX/LightCubeFX.java | 2 +- common/MysticWorld/Client/FX/PowerAirFX.java | 2 +- .../MysticWorld/Client/FX/PowerEarthFX.java | 2 +- .../MysticWorld/Client/FX/PowerEnergyFX.java | 2 +- common/MysticWorld/Client/FX/PowerFireFX.java | 2 +- .../MysticWorld/Client/FX/PowerWaterFX.java | 2 +- .../MysticWorld/Entity/EntityChargeAir.java | 2 +- .../MysticWorld/Entity/EntityChargeEarth.java | 2 +- .../Entity/EntityChargeEnergy.java | 2 +- .../MysticWorld/Entity/EntityChargeFire.java | 2 +- .../MysticWorld/Entity/EntityChargeWater.java | 2 +- .../Items/ItemArmorAdamantine.java | 1 + .../MysticWorld/Items/ItemArmorIridium.java | 1 + .../MysticWorld/Items/ItemArmorMithril.java | 1 + .../MysticWorld/Items/ItemArmorVerdite.java | 1 + common/MysticWorld/Items/ItemHandler$1.java | 2 - common/MysticWorld/MysticWorld.java | 6 +-- .../Renderer/RenderStaffPower.java | 2 +- .../blocks/Air Imbued Stone.png.mcmeta | 45 ++++++++++++++++++ .../textures/blocks/Air Imbued Stone.txt | 39 --------------- .../blocks/Earth Imbued Stone.png.mcmeta | 45 ++++++++++++++++++ .../textures/blocks/Earth Imbued Stone.txt | 38 --------------- .../blocks/Energy Imbued Stone.png.mcmeta | 45 ++++++++++++++++++ .../textures/blocks/Energy Imbued Stone.txt | 38 --------------- .../blocks/Fire Imbued Stone.png.mcmeta | 45 ++++++++++++++++++ .../textures/blocks/Fire Imbued Stone.txt | 38 --------------- .../blocks/Water Imbued Stone.png.mcmeta | 45 ++++++++++++++++++ .../textures/blocks/Water Imbued Stone.txt | 38 --------------- .../armor/Adamantine_layer_1.png} | Bin .../armor/Adamantine_layer_2.png} | Bin .../armor/Iridium_layer_1.png} | Bin .../armor/Iridium_layer_2.png} | Bin .../armor/Mithril_layer_1.png} | Bin .../armor/Mithril_layer_2.png} | Bin .../armor/Verdite_layer_1.png} | Bin .../armor/Verdite_layer_2.png} | Bin 42 files changed, 257 insertions(+), 223 deletions(-) create mode 100644 resources/assets/mystictextures/textures/blocks/Air Imbued Stone.png.mcmeta delete mode 100644 resources/assets/mystictextures/textures/blocks/Air Imbued Stone.txt create mode 100644 resources/assets/mystictextures/textures/blocks/Earth Imbued Stone.png.mcmeta delete mode 100644 resources/assets/mystictextures/textures/blocks/Earth Imbued Stone.txt create mode 100644 resources/assets/mystictextures/textures/blocks/Energy Imbued Stone.png.mcmeta delete mode 100644 resources/assets/mystictextures/textures/blocks/Energy Imbued Stone.txt create mode 100644 resources/assets/mystictextures/textures/blocks/Fire Imbued Stone.png.mcmeta delete mode 100644 resources/assets/mystictextures/textures/blocks/Fire Imbued Stone.txt create mode 100644 resources/assets/mystictextures/textures/blocks/Water Imbued Stone.png.mcmeta delete mode 100644 resources/assets/mystictextures/textures/blocks/Water Imbued Stone.txt rename resources/assets/mystictextures/textures/{armor/adamantine_1.png => models/armor/Adamantine_layer_1.png} (100%) rename resources/assets/mystictextures/textures/{armor/adamantine_2.png => models/armor/Adamantine_layer_2.png} (100%) rename resources/assets/mystictextures/textures/{armor/iridium_1.png => models/armor/Iridium_layer_1.png} (100%) rename resources/assets/mystictextures/textures/{armor/iridium_2.png => models/armor/Iridium_layer_2.png} (100%) rename resources/assets/mystictextures/textures/{armor/mithril_1.png => models/armor/Mithril_layer_1.png} (100%) rename resources/assets/mystictextures/textures/{armor/mithril_2.png => models/armor/Mithril_layer_2.png} (100%) rename resources/assets/mystictextures/textures/{armor/verdite_1.png => models/armor/Verdite_layer_1.png} (100%) rename resources/assets/mystictextures/textures/{armor/verdite_2.png => models/armor/Verdite_layer_2.png} (100%) diff --git a/common/MysticOres/Blocks/BlockBase.java b/common/MysticOres/Blocks/BlockBase.java index 4efe25d..92d1174 100644 --- a/common/MysticOres/Blocks/BlockBase.java +++ b/common/MysticOres/Blocks/BlockBase.java @@ -172,7 +172,7 @@ public class BlockBase extends BlockBreakable { int w = par2Random.nextInt(3); if (w == 0) { - return Item.lightStoneDust.itemID; + return Item.glowstone.itemID; } if (w == 1) { @@ -212,7 +212,7 @@ public class BlockBase extends BlockBreakable { } if (w==4) { - return Item.lightStoneDust.itemID; + return Item.glowstone.itemID; } else { diff --git a/common/MysticOres/LanguageManager.java b/common/MysticOres/LanguageManager.java index a47cf72..4d2ae25 100644 --- a/common/MysticOres/LanguageManager.java +++ b/common/MysticOres/LanguageManager.java @@ -21,7 +21,7 @@ public class LanguageManager LanguageRegistry.instance().addName(new ItemStack(BlockHandler.BlockBase, 1, 9), "Blue Soulstone"); LanguageRegistry.instance().addName(new ItemStack(BlockHandler.BlockBase, 1, 10), "Red Soulstone"); LanguageRegistry.instance().addName(new ItemStack(BlockHandler.BlockBase, 1, 11), "Agate Ore"); - LanguageRegistry.instance().addName(new ItemStack(BlockHandler.BlockBase, 1, 12), "Reinforced Glass"); + LanguageRegistry.instance().addName(new ItemStack(BlockHandler.BlockBase, 1, 12), "Tempered Glass"); LanguageRegistry.instance().addName(new ItemStack(ItemHandler.Resource, 1, 0), "Verdite Ingot"); diff --git a/common/MysticOres/RecipeManager.java b/common/MysticOres/RecipeManager.java index f44303c..e850ea8 100644 --- a/common/MysticOres/RecipeManager.java +++ b/common/MysticOres/RecipeManager.java @@ -555,8 +555,8 @@ public class RecipeManager new ItemStack(ItemHandler.Resource, 1, 9), Item.redstone }); - GameRegistry.addShapelessRecipe(new ItemStack(Item.lightStoneDust, 6), new Object[] { - new ItemStack(ItemHandler.Resource, 1, 9), Item.lightStoneDust + GameRegistry.addShapelessRecipe(new ItemStack(Item.glowstone, 6), new Object[] { + new ItemStack(ItemHandler.Resource, 1, 9), Item.glowstone }); GameRegistry.addShapelessRecipe(new ItemStack(Item.gunpowder, 3), new Object[] { diff --git a/common/MysticRuins/StructureMysticDungeon.java b/common/MysticRuins/StructureMysticDungeon.java index b4f3d50..e43bc7d 100644 --- a/common/MysticRuins/StructureMysticDungeon.java +++ b/common/MysticRuins/StructureMysticDungeon.java @@ -831,7 +831,7 @@ public class StructureMysticDungeon extends WorldGenerator TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1, k1 + 1, l1 + 1); if(spawner != null) { - spawner.func_98049_a().setMobID("Zombie"); + spawner.getSpawnerLogic().setMobID("Zombie"); } world.setBlock(j1, k1 + 2, l1 + 1, Block.chest.blockID); TileEntityChest chest = (TileEntityChest) world.getBlockTileEntity(j1, k1 + 2, l1 + 1); @@ -874,7 +874,7 @@ public class StructureMysticDungeon extends WorldGenerator TileEntityMobSpawner spawnerII = (TileEntityMobSpawner) world.getBlockTileEntity(j1, k1 + 3, l1 + 1); if(spawnerII != null) { - spawnerII.func_98049_a().setMobID("CaveSpider"); + spawnerII.getSpawnerLogic().setMobID("CaveSpider"); } world.setBlock(j1, k1 + 1, l1 + 2, 0); world.setBlock(j1, k1 + 2, l1 + 2, 0); @@ -928,7 +928,7 @@ public class StructureMysticDungeon extends WorldGenerator TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1, k1 + 1, l1 + 3); if(spawner != null) { - spawner.func_98049_a().setMobID("Creeper"); + spawner.getSpawnerLogic().setMobID("Creeper"); } } } @@ -969,7 +969,7 @@ public class StructureMysticDungeon extends WorldGenerator TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1, k1 + 2, l1 + 2); if(spawner != null) { - spawner.func_98049_a().setMobID("Skeleton"); + spawner.getSpawnerLogic().setMobID("Skeleton"); } world.setBlock(j1, k1 + 3, l1 + 2, Block.bookShelf.blockID); world.setBlock(j1, k1 + 1, l1 + 3, Block.bookShelf.blockID); @@ -1024,7 +1024,7 @@ public class StructureMysticDungeon extends WorldGenerator TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1, k1 + 1, l1 + 2); if(spawner != null) { - spawner.func_98049_a().setMobID("Blaze"); + spawner.getSpawnerLogic().setMobID("Blaze"); } world.setBlock(j1, k1 + 1, l1 + 3, Block.blockGold.blockID); } @@ -1089,7 +1089,7 @@ public class StructureMysticDungeon extends WorldGenerator TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1, k1 + 2, l1 - 1); if(spawner != null) { - spawner.func_98049_a().setMobID("Zombie"); + spawner.getSpawnerLogic().setMobID("Zombie"); } world.setBlock(j1, k1 + 1, l1 - 2, 0); world.setBlock(j1, k1 + 2, l1 - 2, 0); @@ -3805,7 +3805,7 @@ public class StructureMysticDungeon extends WorldGenerator TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1 - 4, k1 - 10, l1); if(spawner != null) { - spawner.func_98049_a().setMobID("Zombie"); + spawner.getSpawnerLogic().setMobID("Zombie"); } diff --git a/common/MysticRuins/StructureRuin$1.java b/common/MysticRuins/StructureRuin$1.java index b62e5cf..51fb9a9 100644 --- a/common/MysticRuins/StructureRuin$1.java +++ b/common/MysticRuins/StructureRuin$1.java @@ -144,7 +144,7 @@ public class StructureRuin$1 extends WorldGenerator TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1 + l3, k1 - j5 - i6 - k4, l1 + l3 + 5); if(spawner != null) { - spawner.func_98049_a().setMobID("Zombie"); + spawner.getSpawnerLogic().setMobID("Zombie"); } diff --git a/common/MysticRuins/StructureRuin.java b/common/MysticRuins/StructureRuin.java index 9d76479..1c27973 100644 --- a/common/MysticRuins/StructureRuin.java +++ b/common/MysticRuins/StructureRuin.java @@ -144,7 +144,7 @@ public class StructureRuin extends WorldGenerator TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1 + l3, k1 - j5 - i6 - k4, l1 + l3 + 5); if(spawner != null) { - spawner.func_98049_a().setMobID("Zombie"); + spawner.getSpawnerLogic().setMobID("Zombie"); } diff --git a/common/MysticWorld/Client/FX/LightCubeFX.java b/common/MysticWorld/Client/FX/LightCubeFX.java index b6ec16f..44f6f61 100644 --- a/common/MysticWorld/Client/FX/LightCubeFX.java +++ b/common/MysticWorld/Client/FX/LightCubeFX.java @@ -5,7 +5,7 @@ import org.lwjgl.opengl.GL11; import cpw.mods.fml.client.FMLClientHandler; import net.minecraft.client.particle.EntityFX; import net.minecraft.client.renderer.Tessellator; -import net.minecraft.client.resources.ResourceLocation; +import net.minecraft.util.ResourceLocation; import net.minecraft.world.World; public class LightCubeFX extends EntityFX { diff --git a/common/MysticWorld/Client/FX/PowerAirFX.java b/common/MysticWorld/Client/FX/PowerAirFX.java index 372666c..06cbe66 100644 --- a/common/MysticWorld/Client/FX/PowerAirFX.java +++ b/common/MysticWorld/Client/FX/PowerAirFX.java @@ -6,7 +6,7 @@ import cpw.mods.fml.client.FMLClientHandler; import net.minecraft.client.particle.EntityFX; import net.minecraft.client.renderer.Tessellator; -import net.minecraft.client.resources.ResourceLocation; +import net.minecraft.util.ResourceLocation; import net.minecraft.src.ModLoader; import net.minecraft.world.World; diff --git a/common/MysticWorld/Client/FX/PowerEarthFX.java b/common/MysticWorld/Client/FX/PowerEarthFX.java index ad6f8ae..44d183e 100644 --- a/common/MysticWorld/Client/FX/PowerEarthFX.java +++ b/common/MysticWorld/Client/FX/PowerEarthFX.java @@ -6,7 +6,7 @@ import cpw.mods.fml.client.FMLClientHandler; import net.minecraft.client.particle.EntityFX; import net.minecraft.client.renderer.Tessellator; -import net.minecraft.client.resources.ResourceLocation; +import net.minecraft.util.ResourceLocation; import net.minecraft.src.ModLoader; import net.minecraft.world.World; diff --git a/common/MysticWorld/Client/FX/PowerEnergyFX.java b/common/MysticWorld/Client/FX/PowerEnergyFX.java index 3188037..9f8c8a1 100644 --- a/common/MysticWorld/Client/FX/PowerEnergyFX.java +++ b/common/MysticWorld/Client/FX/PowerEnergyFX.java @@ -6,7 +6,7 @@ import cpw.mods.fml.client.FMLClientHandler; import net.minecraft.client.particle.EntityFX; import net.minecraft.client.renderer.Tessellator; -import net.minecraft.client.resources.ResourceLocation; +import net.minecraft.util.ResourceLocation; import net.minecraft.src.ModLoader; import net.minecraft.world.World; diff --git a/common/MysticWorld/Client/FX/PowerFireFX.java b/common/MysticWorld/Client/FX/PowerFireFX.java index c022885..baf13c1 100644 --- a/common/MysticWorld/Client/FX/PowerFireFX.java +++ b/common/MysticWorld/Client/FX/PowerFireFX.java @@ -6,7 +6,7 @@ import cpw.mods.fml.client.FMLClientHandler; import net.minecraft.client.particle.EntityFX; import net.minecraft.client.renderer.Tessellator; -import net.minecraft.client.resources.ResourceLocation; +import net.minecraft.util.ResourceLocation; import net.minecraft.src.ModLoader; import net.minecraft.world.World; diff --git a/common/MysticWorld/Client/FX/PowerWaterFX.java b/common/MysticWorld/Client/FX/PowerWaterFX.java index d40462f..8e8a1cb 100644 --- a/common/MysticWorld/Client/FX/PowerWaterFX.java +++ b/common/MysticWorld/Client/FX/PowerWaterFX.java @@ -6,7 +6,7 @@ import cpw.mods.fml.client.FMLClientHandler; import net.minecraft.client.particle.EntityFX; import net.minecraft.client.renderer.Tessellator; -import net.minecraft.client.resources.ResourceLocation; +import net.minecraft.util.ResourceLocation; import net.minecraft.src.ModLoader; import net.minecraft.world.World; diff --git a/common/MysticWorld/Entity/EntityChargeAir.java b/common/MysticWorld/Entity/EntityChargeAir.java index 134c231..41f13d0 100644 --- a/common/MysticWorld/Entity/EntityChargeAir.java +++ b/common/MysticWorld/Entity/EntityChargeAir.java @@ -76,7 +76,7 @@ public class EntityChargeAir extends Entity { Vec3 vec3 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX, this.posY, this.posZ); Vec3 vec31 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - MovingObjectPosition movingobjectposition = this.worldObj.rayTraceBlocks(vec3, vec31); + MovingObjectPosition movingobjectposition = this.worldObj.rayTraceBlocks_do_do(vec3, vec31, true, true); vec3 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX, this.posY, this.posZ); vec31 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); diff --git a/common/MysticWorld/Entity/EntityChargeEarth.java b/common/MysticWorld/Entity/EntityChargeEarth.java index 7133159..5a83310 100644 --- a/common/MysticWorld/Entity/EntityChargeEarth.java +++ b/common/MysticWorld/Entity/EntityChargeEarth.java @@ -76,7 +76,7 @@ public class EntityChargeEarth extends Entity { Vec3 vec3 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX, this.posY, this.posZ); Vec3 vec31 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - MovingObjectPosition movingobjectposition = this.worldObj.rayTraceBlocks(vec3, vec31); + MovingObjectPosition movingobjectposition = this.worldObj.rayTraceBlocks_do_do(vec3, vec31, true, true); vec3 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX, this.posY, this.posZ); vec31 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); diff --git a/common/MysticWorld/Entity/EntityChargeEnergy.java b/common/MysticWorld/Entity/EntityChargeEnergy.java index c3e3ab6..61ff680 100644 --- a/common/MysticWorld/Entity/EntityChargeEnergy.java +++ b/common/MysticWorld/Entity/EntityChargeEnergy.java @@ -66,7 +66,7 @@ public class EntityChargeEnergy extends Entity { Vec3 vec3 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX, this.posY, this.posZ); Vec3 vec31 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - MovingObjectPosition movingobjectposition = this.worldObj.rayTraceBlocks(vec3, vec31); + MovingObjectPosition movingobjectposition = this.worldObj.rayTraceBlocks_do_do(vec3, vec31, true, true); vec3 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX, this.posY, this.posZ); vec31 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); diff --git a/common/MysticWorld/Entity/EntityChargeFire.java b/common/MysticWorld/Entity/EntityChargeFire.java index a2791f8..6615416 100644 --- a/common/MysticWorld/Entity/EntityChargeFire.java +++ b/common/MysticWorld/Entity/EntityChargeFire.java @@ -65,7 +65,7 @@ public class EntityChargeFire extends Entity { Vec3 vec3 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX, this.posY, this.posZ); Vec3 vec31 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - MovingObjectPosition movingobjectposition = this.worldObj.rayTraceBlocks(vec3, vec31); + MovingObjectPosition movingobjectposition = this.worldObj.rayTraceBlocks_do_do(vec3, vec31, true, true); vec3 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX, this.posY, this.posZ); vec31 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); diff --git a/common/MysticWorld/Entity/EntityChargeWater.java b/common/MysticWorld/Entity/EntityChargeWater.java index c1b35bc..972b497 100644 --- a/common/MysticWorld/Entity/EntityChargeWater.java +++ b/common/MysticWorld/Entity/EntityChargeWater.java @@ -65,7 +65,7 @@ public class EntityChargeWater extends Entity { Vec3 vec3 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX, this.posY, this.posZ); Vec3 vec31 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); - MovingObjectPosition movingobjectposition = this.worldObj.rayTraceBlocks(vec3, vec31); + MovingObjectPosition movingobjectposition = this.worldObj.rayTraceBlocks_do_do(vec3, vec31, true, true); vec3 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX, this.posY, this.posZ); vec31 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ); diff --git a/common/MysticWorld/Items/ItemArmorAdamantine.java b/common/MysticWorld/Items/ItemArmorAdamantine.java index 32063c8..3560d0e 100644 --- a/common/MysticWorld/Items/ItemArmorAdamantine.java +++ b/common/MysticWorld/Items/ItemArmorAdamantine.java @@ -18,6 +18,7 @@ public class ItemArmorAdamantine extends ItemArmor public ItemArmorAdamantine(int par1, EnumArmorMaterial par2EnumArmorMaterial, int par3, int par4) { super(par1, par2EnumArmorMaterial,par3,par4); this.ArmorType=par4; + this.setMaxDamage(3000); this.setCreativeTab(MysticWorld.MysticWorldTab); this.ArmorFile_1 = "/MysticTextures/textures/armor/adamantine_1.png"; this.ArmorFile_2 = "/MysticTextures/textures/armor/adamantine_2.png"; diff --git a/common/MysticWorld/Items/ItemArmorIridium.java b/common/MysticWorld/Items/ItemArmorIridium.java index da04428..c33474f 100644 --- a/common/MysticWorld/Items/ItemArmorIridium.java +++ b/common/MysticWorld/Items/ItemArmorIridium.java @@ -23,6 +23,7 @@ public class ItemArmorIridium extends ItemArmor super(par1, par2EnumArmorMaterial,par3,par4); this.ArmorType=par4; + this.setMaxDamage(4000); this.setCreativeTab(MysticWorld.MysticWorldTab); this.ArmorFile_1 = "/assets/MysticTextures/textures/armor/iridium_1.png"; this.ArmorFile_2 = "/assets/MysticTextures/textures/armor/iridium_2.png"; diff --git a/common/MysticWorld/Items/ItemArmorMithril.java b/common/MysticWorld/Items/ItemArmorMithril.java index 0ff70e5..b14fb2d 100644 --- a/common/MysticWorld/Items/ItemArmorMithril.java +++ b/common/MysticWorld/Items/ItemArmorMithril.java @@ -19,6 +19,7 @@ public class ItemArmorMithril extends ItemArmor super(par1, par2EnumArmorMaterial,par3,par4); this.ArmorType=par4; + this.setMaxDamage(500); this.setCreativeTab(MysticWorld.MysticWorldTab); this.ArmorFile_1 = "/assets/MysticTextures/textures/armor/mithril_1.png"; this.ArmorFile_2 = "/assets/MysticTextures/textures/armor/mithril_2.png"; diff --git a/common/MysticWorld/Items/ItemArmorVerdite.java b/common/MysticWorld/Items/ItemArmorVerdite.java index e8e55f0..250ce6c 100644 --- a/common/MysticWorld/Items/ItemArmorVerdite.java +++ b/common/MysticWorld/Items/ItemArmorVerdite.java @@ -19,6 +19,7 @@ public class ItemArmorVerdite extends ItemArmor super(par1, par2EnumArmorMaterial,par3,par4); this.ArmorType=par4; + this.setMaxDamage(262); this.setCreativeTab(MysticWorld.MysticWorldTab); this.ArmorFile_1 = "/assets/MysticTextures/textures/armor/verdite_1.png"; this.ArmorFile_2 = "/assets/MysticTextures/textures/armor/verdite_2.png"; diff --git a/common/MysticWorld/Items/ItemHandler$1.java b/common/MysticWorld/Items/ItemHandler$1.java index edaefba..342124a 100644 --- a/common/MysticWorld/Items/ItemHandler$1.java +++ b/common/MysticWorld/Items/ItemHandler$1.java @@ -12,8 +12,6 @@ import net.minecraft.item.EnumArmorMaterial; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.common.EnumHelper; -import net.minecraftforge.liquids.LiquidDictionary; -import net.minecraftforge.liquids.LiquidStack; public class ItemHandler$1 { diff --git a/common/MysticWorld/MysticWorld.java b/common/MysticWorld/MysticWorld.java index bfbe2e9..b8a06d5 100644 --- a/common/MysticWorld/MysticWorld.java +++ b/common/MysticWorld/MysticWorld.java @@ -9,17 +9,15 @@ import MysticWorld.Entity.EntityHandler; import MysticWorld.Items.ItemHandler$1; import MysticWorld.Lib.Strings; import MysticWorld.WorldGen.*; - import net.minecraft.block.Block; -import net.minecraft.client.resources.ResourceLocation; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.util.ResourceLocation; import net.minecraft.world.WorldType; import net.minecraft.world.biome.BiomeGenBase; import net.minecraftforge.common.ChestGenHooks; import net.minecraftforge.common.DimensionManager; import net.minecraftforge.common.MinecraftForge; - import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Init; import cpw.mods.fml.common.Mod.Instance; @@ -70,7 +68,7 @@ public class MysticWorld TickRegistry.registerTickHandler(this.tickHandler, Side.SERVER); VillagerRegistry.instance().registerVillagerSkin(98943, new ResourceLocation("/mods/MysticTextures/textures/mob/MysticVillager.png")); - VillagerRegistry.instance().registerVillageTradeHandler(98943, new MysticVillagerTrades()); + VillagerRegistry.instance().registerVillageTradeHandler(98943, new VillageHutHandler()); VillagerRegistry.instance().registerVillageCreationHandler(new VillageHutHandler()); BlockHandler.init(); ItemHandler$1.init(); diff --git a/common/MysticWorld/Renderer/RenderStaffPower.java b/common/MysticWorld/Renderer/RenderStaffPower.java index 22ef123..588909a 100644 --- a/common/MysticWorld/Renderer/RenderStaffPower.java +++ b/common/MysticWorld/Renderer/RenderStaffPower.java @@ -9,7 +9,7 @@ import MysticWorld.Items.ItemStaffPower; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.entity.Render; import net.minecraft.client.renderer.texture.TextureMap; -import net.minecraft.client.resources.ResourceLocation; +import net.minecraft.util.ResourceLocation; import net.minecraft.entity.Entity; import net.minecraft.entity.projectile.EntityFireball; import net.minecraft.entity.projectile.EntityPotion; diff --git a/resources/assets/mystictextures/textures/blocks/Air Imbued Stone.png.mcmeta b/resources/assets/mystictextures/textures/blocks/Air Imbued Stone.png.mcmeta new file mode 100644 index 0000000..7ceb363 --- /dev/null +++ b/resources/assets/mystictextures/textures/blocks/Air Imbued Stone.png.mcmeta @@ -0,0 +1,45 @@ +{ + "animation": { + "frametime": 2, + "frames": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 18, + 17, + 16, + 15, + 14, + 13, + 12, + 11, + 10, + 9, + 8, + 7, + 6, + 5, + 4, + 3, + 2, + 1 + ] + } +} \ No newline at end of file diff --git a/resources/assets/mystictextures/textures/blocks/Air Imbued Stone.txt b/resources/assets/mystictextures/textures/blocks/Air Imbued Stone.txt deleted file mode 100644 index a34539f..0000000 --- a/resources/assets/mystictextures/textures/blocks/Air Imbued Stone.txt +++ /dev/null @@ -1,39 +0,0 @@ -0*2 -1*2 -2*2 -3*2 -4*2 -5*2 -6*2 -7*2 -8*2 -9*2 -10*2 -11*2 -12*2 -13*2 -14*2 -15*2 -16*2 -17*2 -18*2 -19*2 -18*2 -17*2 -16*2 -15*2 -14*2 -13*2 -12*2 -11*2 -10*2 -9*2 -8*2 -7*2 -6*2 -5*2 -4*2 -3*2 -2*2 -1*2 - diff --git a/resources/assets/mystictextures/textures/blocks/Earth Imbued Stone.png.mcmeta b/resources/assets/mystictextures/textures/blocks/Earth Imbued Stone.png.mcmeta new file mode 100644 index 0000000..7ceb363 --- /dev/null +++ b/resources/assets/mystictextures/textures/blocks/Earth Imbued Stone.png.mcmeta @@ -0,0 +1,45 @@ +{ + "animation": { + "frametime": 2, + "frames": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 18, + 17, + 16, + 15, + 14, + 13, + 12, + 11, + 10, + 9, + 8, + 7, + 6, + 5, + 4, + 3, + 2, + 1 + ] + } +} \ No newline at end of file diff --git a/resources/assets/mystictextures/textures/blocks/Earth Imbued Stone.txt b/resources/assets/mystictextures/textures/blocks/Earth Imbued Stone.txt deleted file mode 100644 index b0a7c08..0000000 --- a/resources/assets/mystictextures/textures/blocks/Earth Imbued Stone.txt +++ /dev/null @@ -1,38 +0,0 @@ -0*2 -1*2 -2*2 -3*2 -4*2 -5*2 -6*2 -7*2 -8*2 -9*2 -10*2 -11*2 -12*2 -13*2 -14*2 -15*2 -16*2 -17*2 -18*2 -19*2 -18*2 -17*2 -16*2 -15*2 -14*2 -13*2 -12*2 -11*2 -10*2 -9*2 -8*2 -7*2 -6*2 -5*2 -4*2 -3*2 -2*2 -1*2 diff --git a/resources/assets/mystictextures/textures/blocks/Energy Imbued Stone.png.mcmeta b/resources/assets/mystictextures/textures/blocks/Energy Imbued Stone.png.mcmeta new file mode 100644 index 0000000..7ceb363 --- /dev/null +++ b/resources/assets/mystictextures/textures/blocks/Energy Imbued Stone.png.mcmeta @@ -0,0 +1,45 @@ +{ + "animation": { + "frametime": 2, + "frames": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 18, + 17, + 16, + 15, + 14, + 13, + 12, + 11, + 10, + 9, + 8, + 7, + 6, + 5, + 4, + 3, + 2, + 1 + ] + } +} \ No newline at end of file diff --git a/resources/assets/mystictextures/textures/blocks/Energy Imbued Stone.txt b/resources/assets/mystictextures/textures/blocks/Energy Imbued Stone.txt deleted file mode 100644 index b0a7c08..0000000 --- a/resources/assets/mystictextures/textures/blocks/Energy Imbued Stone.txt +++ /dev/null @@ -1,38 +0,0 @@ -0*2 -1*2 -2*2 -3*2 -4*2 -5*2 -6*2 -7*2 -8*2 -9*2 -10*2 -11*2 -12*2 -13*2 -14*2 -15*2 -16*2 -17*2 -18*2 -19*2 -18*2 -17*2 -16*2 -15*2 -14*2 -13*2 -12*2 -11*2 -10*2 -9*2 -8*2 -7*2 -6*2 -5*2 -4*2 -3*2 -2*2 -1*2 diff --git a/resources/assets/mystictextures/textures/blocks/Fire Imbued Stone.png.mcmeta b/resources/assets/mystictextures/textures/blocks/Fire Imbued Stone.png.mcmeta new file mode 100644 index 0000000..7ceb363 --- /dev/null +++ b/resources/assets/mystictextures/textures/blocks/Fire Imbued Stone.png.mcmeta @@ -0,0 +1,45 @@ +{ + "animation": { + "frametime": 2, + "frames": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 18, + 17, + 16, + 15, + 14, + 13, + 12, + 11, + 10, + 9, + 8, + 7, + 6, + 5, + 4, + 3, + 2, + 1 + ] + } +} \ No newline at end of file diff --git a/resources/assets/mystictextures/textures/blocks/Fire Imbued Stone.txt b/resources/assets/mystictextures/textures/blocks/Fire Imbued Stone.txt deleted file mode 100644 index b0a7c08..0000000 --- a/resources/assets/mystictextures/textures/blocks/Fire Imbued Stone.txt +++ /dev/null @@ -1,38 +0,0 @@ -0*2 -1*2 -2*2 -3*2 -4*2 -5*2 -6*2 -7*2 -8*2 -9*2 -10*2 -11*2 -12*2 -13*2 -14*2 -15*2 -16*2 -17*2 -18*2 -19*2 -18*2 -17*2 -16*2 -15*2 -14*2 -13*2 -12*2 -11*2 -10*2 -9*2 -8*2 -7*2 -6*2 -5*2 -4*2 -3*2 -2*2 -1*2 diff --git a/resources/assets/mystictextures/textures/blocks/Water Imbued Stone.png.mcmeta b/resources/assets/mystictextures/textures/blocks/Water Imbued Stone.png.mcmeta new file mode 100644 index 0000000..7ceb363 --- /dev/null +++ b/resources/assets/mystictextures/textures/blocks/Water Imbued Stone.png.mcmeta @@ -0,0 +1,45 @@ +{ + "animation": { + "frametime": 2, + "frames": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 18, + 17, + 16, + 15, + 14, + 13, + 12, + 11, + 10, + 9, + 8, + 7, + 6, + 5, + 4, + 3, + 2, + 1 + ] + } +} \ No newline at end of file diff --git a/resources/assets/mystictextures/textures/blocks/Water Imbued Stone.txt b/resources/assets/mystictextures/textures/blocks/Water Imbued Stone.txt deleted file mode 100644 index b0a7c08..0000000 --- a/resources/assets/mystictextures/textures/blocks/Water Imbued Stone.txt +++ /dev/null @@ -1,38 +0,0 @@ -0*2 -1*2 -2*2 -3*2 -4*2 -5*2 -6*2 -7*2 -8*2 -9*2 -10*2 -11*2 -12*2 -13*2 -14*2 -15*2 -16*2 -17*2 -18*2 -19*2 -18*2 -17*2 -16*2 -15*2 -14*2 -13*2 -12*2 -11*2 -10*2 -9*2 -8*2 -7*2 -6*2 -5*2 -4*2 -3*2 -2*2 -1*2 diff --git a/resources/assets/mystictextures/textures/armor/adamantine_1.png b/resources/assets/mystictextures/textures/models/armor/Adamantine_layer_1.png similarity index 100% rename from resources/assets/mystictextures/textures/armor/adamantine_1.png rename to resources/assets/mystictextures/textures/models/armor/Adamantine_layer_1.png diff --git a/resources/assets/mystictextures/textures/armor/adamantine_2.png b/resources/assets/mystictextures/textures/models/armor/Adamantine_layer_2.png similarity index 100% rename from resources/assets/mystictextures/textures/armor/adamantine_2.png rename to resources/assets/mystictextures/textures/models/armor/Adamantine_layer_2.png diff --git a/resources/assets/mystictextures/textures/armor/iridium_1.png b/resources/assets/mystictextures/textures/models/armor/Iridium_layer_1.png similarity index 100% rename from resources/assets/mystictextures/textures/armor/iridium_1.png rename to resources/assets/mystictextures/textures/models/armor/Iridium_layer_1.png diff --git a/resources/assets/mystictextures/textures/armor/iridium_2.png b/resources/assets/mystictextures/textures/models/armor/Iridium_layer_2.png similarity index 100% rename from resources/assets/mystictextures/textures/armor/iridium_2.png rename to resources/assets/mystictextures/textures/models/armor/Iridium_layer_2.png diff --git a/resources/assets/mystictextures/textures/armor/mithril_1.png b/resources/assets/mystictextures/textures/models/armor/Mithril_layer_1.png similarity index 100% rename from resources/assets/mystictextures/textures/armor/mithril_1.png rename to resources/assets/mystictextures/textures/models/armor/Mithril_layer_1.png diff --git a/resources/assets/mystictextures/textures/armor/mithril_2.png b/resources/assets/mystictextures/textures/models/armor/Mithril_layer_2.png similarity index 100% rename from resources/assets/mystictextures/textures/armor/mithril_2.png rename to resources/assets/mystictextures/textures/models/armor/Mithril_layer_2.png diff --git a/resources/assets/mystictextures/textures/armor/verdite_1.png b/resources/assets/mystictextures/textures/models/armor/Verdite_layer_1.png similarity index 100% rename from resources/assets/mystictextures/textures/armor/verdite_1.png rename to resources/assets/mystictextures/textures/models/armor/Verdite_layer_1.png diff --git a/resources/assets/mystictextures/textures/armor/verdite_2.png b/resources/assets/mystictextures/textures/models/armor/Verdite_layer_2.png similarity index 100% rename from resources/assets/mystictextures/textures/armor/verdite_2.png rename to resources/assets/mystictextures/textures/models/armor/Verdite_layer_2.png