Updating for 1.6.2 changes

This commit is contained in:
oitsjustjose 2013-07-08 22:13:27 -05:00
commit 5bf30e3b8d
42 changed files with 257 additions and 223 deletions

View file

@ -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
{

View file

@ -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");

View file

@ -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[] {

View file

@ -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");
}

View file

@ -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");
}

View file

@ -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");
}

View file

@ -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 {

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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);

View file

@ -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);

View file

@ -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);

View file

@ -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);

View file

@ -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);

View file

@ -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";

View file

@ -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";

View file

@ -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";

View file

@ -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";

View file

@ -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 {

View file

@ -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();

View file

@ -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;

View file

@ -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
]
}
}

View file

@ -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

View file

@ -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
]
}
}

View file

@ -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

View file

@ -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
]
}
}

View file

@ -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

View file

@ -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
]
}
}

View file

@ -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

View file

@ -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
]
}
}

View file

@ -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

View file

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before After
Before After