Updating for 1.6.2 changes
|
|
@ -172,7 +172,7 @@ public class BlockBase extends BlockBreakable {
|
||||||
int w = par2Random.nextInt(3);
|
int w = par2Random.nextInt(3);
|
||||||
if (w == 0)
|
if (w == 0)
|
||||||
{
|
{
|
||||||
return Item.lightStoneDust.itemID;
|
return Item.glowstone.itemID;
|
||||||
}
|
}
|
||||||
if (w == 1)
|
if (w == 1)
|
||||||
{
|
{
|
||||||
|
|
@ -212,7 +212,7 @@ public class BlockBase extends BlockBreakable {
|
||||||
}
|
}
|
||||||
if (w==4)
|
if (w==4)
|
||||||
{
|
{
|
||||||
return Item.lightStoneDust.itemID;
|
return Item.glowstone.itemID;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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, 9), "Blue Soulstone");
|
||||||
LanguageRegistry.instance().addName(new ItemStack(BlockHandler.BlockBase, 1, 10), "Red 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, 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");
|
LanguageRegistry.instance().addName(new ItemStack(ItemHandler.Resource, 1, 0), "Verdite Ingot");
|
||||||
|
|
|
||||||
|
|
@ -555,8 +555,8 @@ public class RecipeManager
|
||||||
new ItemStack(ItemHandler.Resource, 1, 9), Item.redstone
|
new ItemStack(ItemHandler.Resource, 1, 9), Item.redstone
|
||||||
});
|
});
|
||||||
|
|
||||||
GameRegistry.addShapelessRecipe(new ItemStack(Item.lightStoneDust, 6), new Object[] {
|
GameRegistry.addShapelessRecipe(new ItemStack(Item.glowstone, 6), new Object[] {
|
||||||
new ItemStack(ItemHandler.Resource, 1, 9), Item.lightStoneDust
|
new ItemStack(ItemHandler.Resource, 1, 9), Item.glowstone
|
||||||
});
|
});
|
||||||
|
|
||||||
GameRegistry.addShapelessRecipe(new ItemStack(Item.gunpowder, 3), new Object[] {
|
GameRegistry.addShapelessRecipe(new ItemStack(Item.gunpowder, 3), new Object[] {
|
||||||
|
|
|
||||||
|
|
@ -831,7 +831,7 @@ public class StructureMysticDungeon extends WorldGenerator
|
||||||
TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1, k1 + 1, l1 + 1);
|
TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1, k1 + 1, l1 + 1);
|
||||||
if(spawner != null)
|
if(spawner != null)
|
||||||
{
|
{
|
||||||
spawner.func_98049_a().setMobID("Zombie");
|
spawner.getSpawnerLogic().setMobID("Zombie");
|
||||||
}
|
}
|
||||||
world.setBlock(j1, k1 + 2, l1 + 1, Block.chest.blockID);
|
world.setBlock(j1, k1 + 2, l1 + 1, Block.chest.blockID);
|
||||||
TileEntityChest chest = (TileEntityChest) world.getBlockTileEntity(j1, k1 + 2, l1 + 1);
|
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);
|
TileEntityMobSpawner spawnerII = (TileEntityMobSpawner) world.getBlockTileEntity(j1, k1 + 3, l1 + 1);
|
||||||
if(spawnerII != null)
|
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 + 1, l1 + 2, 0);
|
||||||
world.setBlock(j1, k1 + 2, 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);
|
TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1, k1 + 1, l1 + 3);
|
||||||
if(spawner != null)
|
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);
|
TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1, k1 + 2, l1 + 2);
|
||||||
if(spawner != null)
|
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 + 3, l1 + 2, Block.bookShelf.blockID);
|
||||||
world.setBlock(j1, k1 + 1, l1 + 3, 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);
|
TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1, k1 + 1, l1 + 2);
|
||||||
if(spawner != null)
|
if(spawner != null)
|
||||||
{
|
{
|
||||||
spawner.func_98049_a().setMobID("Blaze");
|
spawner.getSpawnerLogic().setMobID("Blaze");
|
||||||
}
|
}
|
||||||
world.setBlock(j1, k1 + 1, l1 + 3, Block.blockGold.blockID);
|
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);
|
TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1, k1 + 2, l1 - 1);
|
||||||
if(spawner != null)
|
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 + 1, l1 - 2, 0);
|
||||||
world.setBlock(j1, k1 + 2, 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);
|
TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1 - 4, k1 - 10, l1);
|
||||||
if(spawner != null)
|
if(spawner != null)
|
||||||
{
|
{
|
||||||
spawner.func_98049_a().setMobID("Zombie");
|
spawner.getSpawnerLogic().setMobID("Zombie");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,7 @@ public class StructureRuin$1 extends WorldGenerator
|
||||||
TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1 + l3, k1 - j5 - i6 - k4, l1 + l3 + 5);
|
TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1 + l3, k1 - j5 - i6 - k4, l1 + l3 + 5);
|
||||||
if(spawner != null)
|
if(spawner != null)
|
||||||
{
|
{
|
||||||
spawner.func_98049_a().setMobID("Zombie");
|
spawner.getSpawnerLogic().setMobID("Zombie");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,7 @@ public class StructureRuin extends WorldGenerator
|
||||||
TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1 + l3, k1 - j5 - i6 - k4, l1 + l3 + 5);
|
TileEntityMobSpawner spawner = (TileEntityMobSpawner) world.getBlockTileEntity(j1 + l3, k1 - j5 - i6 - k4, l1 + l3 + 5);
|
||||||
if(spawner != null)
|
if(spawner != null)
|
||||||
{
|
{
|
||||||
spawner.func_98049_a().setMobID("Zombie");
|
spawner.getSpawnerLogic().setMobID("Zombie");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import org.lwjgl.opengl.GL11;
|
||||||
import cpw.mods.fml.client.FMLClientHandler;
|
import cpw.mods.fml.client.FMLClientHandler;
|
||||||
import net.minecraft.client.particle.EntityFX;
|
import net.minecraft.client.particle.EntityFX;
|
||||||
import net.minecraft.client.renderer.Tessellator;
|
import net.minecraft.client.renderer.Tessellator;
|
||||||
import net.minecraft.client.resources.ResourceLocation;
|
import net.minecraft.util.ResourceLocation;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
public class LightCubeFX extends EntityFX {
|
public class LightCubeFX extends EntityFX {
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import cpw.mods.fml.client.FMLClientHandler;
|
||||||
|
|
||||||
import net.minecraft.client.particle.EntityFX;
|
import net.minecraft.client.particle.EntityFX;
|
||||||
import net.minecraft.client.renderer.Tessellator;
|
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.src.ModLoader;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import cpw.mods.fml.client.FMLClientHandler;
|
||||||
|
|
||||||
import net.minecraft.client.particle.EntityFX;
|
import net.minecraft.client.particle.EntityFX;
|
||||||
import net.minecraft.client.renderer.Tessellator;
|
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.src.ModLoader;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import cpw.mods.fml.client.FMLClientHandler;
|
||||||
|
|
||||||
import net.minecraft.client.particle.EntityFX;
|
import net.minecraft.client.particle.EntityFX;
|
||||||
import net.minecraft.client.renderer.Tessellator;
|
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.src.ModLoader;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import cpw.mods.fml.client.FMLClientHandler;
|
||||||
|
|
||||||
import net.minecraft.client.particle.EntityFX;
|
import net.minecraft.client.particle.EntityFX;
|
||||||
import net.minecraft.client.renderer.Tessellator;
|
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.src.ModLoader;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import cpw.mods.fml.client.FMLClientHandler;
|
||||||
|
|
||||||
import net.minecraft.client.particle.EntityFX;
|
import net.minecraft.client.particle.EntityFX;
|
||||||
import net.minecraft.client.renderer.Tessellator;
|
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.src.ModLoader;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ public class EntityChargeAir extends Entity {
|
||||||
|
|
||||||
Vec3 vec3 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX, this.posY, this.posZ);
|
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);
|
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);
|
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);
|
vec31 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ public class EntityChargeEarth extends Entity {
|
||||||
|
|
||||||
Vec3 vec3 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX, this.posY, this.posZ);
|
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);
|
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);
|
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);
|
vec31 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ public class EntityChargeEnergy extends Entity {
|
||||||
|
|
||||||
Vec3 vec3 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX, this.posY, this.posZ);
|
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);
|
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);
|
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);
|
vec31 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ public class EntityChargeFire extends Entity {
|
||||||
|
|
||||||
Vec3 vec3 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX, this.posY, this.posZ);
|
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);
|
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);
|
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);
|
vec31 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ public class EntityChargeWater extends Entity {
|
||||||
|
|
||||||
Vec3 vec3 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX, this.posY, this.posZ);
|
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);
|
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);
|
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);
|
vec31 = this.worldObj.getWorldVec3Pool().getVecFromPool(this.posX + this.motionX, this.posY + this.motionY, this.posZ + this.motionZ);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ public class ItemArmorAdamantine extends ItemArmor
|
||||||
public ItemArmorAdamantine(int par1, EnumArmorMaterial par2EnumArmorMaterial, int par3, int par4) {
|
public ItemArmorAdamantine(int par1, EnumArmorMaterial par2EnumArmorMaterial, int par3, int par4) {
|
||||||
super(par1, par2EnumArmorMaterial,par3,par4);
|
super(par1, par2EnumArmorMaterial,par3,par4);
|
||||||
this.ArmorType=par4;
|
this.ArmorType=par4;
|
||||||
|
this.setMaxDamage(3000);
|
||||||
this.setCreativeTab(MysticWorld.MysticWorldTab);
|
this.setCreativeTab(MysticWorld.MysticWorldTab);
|
||||||
this.ArmorFile_1 = "/MysticTextures/textures/armor/adamantine_1.png";
|
this.ArmorFile_1 = "/MysticTextures/textures/armor/adamantine_1.png";
|
||||||
this.ArmorFile_2 = "/MysticTextures/textures/armor/adamantine_2.png";
|
this.ArmorFile_2 = "/MysticTextures/textures/armor/adamantine_2.png";
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ public class ItemArmorIridium extends ItemArmor
|
||||||
|
|
||||||
super(par1, par2EnumArmorMaterial,par3,par4);
|
super(par1, par2EnumArmorMaterial,par3,par4);
|
||||||
this.ArmorType=par4;
|
this.ArmorType=par4;
|
||||||
|
this.setMaxDamage(4000);
|
||||||
this.setCreativeTab(MysticWorld.MysticWorldTab);
|
this.setCreativeTab(MysticWorld.MysticWorldTab);
|
||||||
this.ArmorFile_1 = "/assets/MysticTextures/textures/armor/iridium_1.png";
|
this.ArmorFile_1 = "/assets/MysticTextures/textures/armor/iridium_1.png";
|
||||||
this.ArmorFile_2 = "/assets/MysticTextures/textures/armor/iridium_2.png";
|
this.ArmorFile_2 = "/assets/MysticTextures/textures/armor/iridium_2.png";
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ public class ItemArmorMithril extends ItemArmor
|
||||||
|
|
||||||
super(par1, par2EnumArmorMaterial,par3,par4);
|
super(par1, par2EnumArmorMaterial,par3,par4);
|
||||||
this.ArmorType=par4;
|
this.ArmorType=par4;
|
||||||
|
this.setMaxDamage(500);
|
||||||
this.setCreativeTab(MysticWorld.MysticWorldTab);
|
this.setCreativeTab(MysticWorld.MysticWorldTab);
|
||||||
this.ArmorFile_1 = "/assets/MysticTextures/textures/armor/mithril_1.png";
|
this.ArmorFile_1 = "/assets/MysticTextures/textures/armor/mithril_1.png";
|
||||||
this.ArmorFile_2 = "/assets/MysticTextures/textures/armor/mithril_2.png";
|
this.ArmorFile_2 = "/assets/MysticTextures/textures/armor/mithril_2.png";
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ public class ItemArmorVerdite extends ItemArmor
|
||||||
|
|
||||||
super(par1, par2EnumArmorMaterial,par3,par4);
|
super(par1, par2EnumArmorMaterial,par3,par4);
|
||||||
this.ArmorType=par4;
|
this.ArmorType=par4;
|
||||||
|
this.setMaxDamage(262);
|
||||||
this.setCreativeTab(MysticWorld.MysticWorldTab);
|
this.setCreativeTab(MysticWorld.MysticWorldTab);
|
||||||
this.ArmorFile_1 = "/assets/MysticTextures/textures/armor/verdite_1.png";
|
this.ArmorFile_1 = "/assets/MysticTextures/textures/armor/verdite_1.png";
|
||||||
this.ArmorFile_2 = "/assets/MysticTextures/textures/armor/verdite_2.png";
|
this.ArmorFile_2 = "/assets/MysticTextures/textures/armor/verdite_2.png";
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,6 @@ import net.minecraft.item.EnumArmorMaterial;
|
||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraftforge.common.EnumHelper;
|
import net.minecraftforge.common.EnumHelper;
|
||||||
import net.minecraftforge.liquids.LiquidDictionary;
|
|
||||||
import net.minecraftforge.liquids.LiquidStack;
|
|
||||||
|
|
||||||
public class ItemHandler$1 {
|
public class ItemHandler$1 {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,17 +9,15 @@ import MysticWorld.Entity.EntityHandler;
|
||||||
import MysticWorld.Items.ItemHandler$1;
|
import MysticWorld.Items.ItemHandler$1;
|
||||||
import MysticWorld.Lib.Strings;
|
import MysticWorld.Lib.Strings;
|
||||||
import MysticWorld.WorldGen.*;
|
import MysticWorld.WorldGen.*;
|
||||||
|
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.client.resources.ResourceLocation;
|
|
||||||
import net.minecraft.creativetab.CreativeTabs;
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.util.ResourceLocation;
|
||||||
import net.minecraft.world.WorldType;
|
import net.minecraft.world.WorldType;
|
||||||
import net.minecraft.world.biome.BiomeGenBase;
|
import net.minecraft.world.biome.BiomeGenBase;
|
||||||
import net.minecraftforge.common.ChestGenHooks;
|
import net.minecraftforge.common.ChestGenHooks;
|
||||||
import net.minecraftforge.common.DimensionManager;
|
import net.minecraftforge.common.DimensionManager;
|
||||||
import net.minecraftforge.common.MinecraftForge;
|
import net.minecraftforge.common.MinecraftForge;
|
||||||
|
|
||||||
import cpw.mods.fml.common.Mod;
|
import cpw.mods.fml.common.Mod;
|
||||||
import cpw.mods.fml.common.Mod.Init;
|
import cpw.mods.fml.common.Mod.Init;
|
||||||
import cpw.mods.fml.common.Mod.Instance;
|
import cpw.mods.fml.common.Mod.Instance;
|
||||||
|
|
@ -70,7 +68,7 @@ public class MysticWorld
|
||||||
|
|
||||||
TickRegistry.registerTickHandler(this.tickHandler, Side.SERVER);
|
TickRegistry.registerTickHandler(this.tickHandler, Side.SERVER);
|
||||||
VillagerRegistry.instance().registerVillagerSkin(98943, new ResourceLocation("/mods/MysticTextures/textures/mob/MysticVillager.png"));
|
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());
|
VillagerRegistry.instance().registerVillageCreationHandler(new VillageHutHandler());
|
||||||
BlockHandler.init();
|
BlockHandler.init();
|
||||||
ItemHandler$1.init();
|
ItemHandler$1.init();
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import MysticWorld.Items.ItemStaffPower;
|
||||||
import net.minecraft.client.renderer.Tessellator;
|
import net.minecraft.client.renderer.Tessellator;
|
||||||
import net.minecraft.client.renderer.entity.Render;
|
import net.minecraft.client.renderer.entity.Render;
|
||||||
import net.minecraft.client.renderer.texture.TextureMap;
|
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.Entity;
|
||||||
import net.minecraft.entity.projectile.EntityFireball;
|
import net.minecraft.entity.projectile.EntityFireball;
|
||||||
import net.minecraft.entity.projectile.EntityPotion;
|
import net.minecraft.entity.projectile.EntityPotion;
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -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
|
|
||||||
|
|
||||||
|
|
@ -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
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -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
|
|
||||||
|
|
@ -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
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -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
|
|
||||||
|
|
@ -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
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -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
|
|
||||||
|
|
@ -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
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -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
|
|
||||||
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |