v5.2.0 Beta #1

*Updated textures.
*Added top and bottom textures for Smelting Factory.
*Revamped and simplified Recipe Handler.
*Individual GUI classes for NEI.
*Fixed portable teleporter text and button.
*Added Purification Chamber.
*Added Chunks.
*Added Dirty Dusts.
*Made Smelting Factory work with ISidedInventory, and in turn changed
some slot IDs.
*Fixed portable teleporters able to provide electricity.
*Fixed ore dictionary names.
*Made the Combiner require 8 dusts of a resource to function.
*Added config for update notifications.
*Fixed damage when teleporting.
*Added sounds when teleporting.
*Fixed secondary energy calculations on AdvancedElectricMachine.
*Made machines able to maintain their progress when unable to operate.
*Fixed Energy Cubes unable to input BC power.
*Other minor bugfixes.
This commit is contained in:
Aidan Brady committed 2013-01-23 15:42:45 -05:00
1 parent d0fed4f1ae
commit b6ce025998
55 files changed
+1395 -275

No files matched your search

@@ -34,6 +34,7 @@ import cpw.mods.fml.relauncher.SideOnly;
* 6: Advanced Smelting Factory
* 7: Elite Smelting Factory
* 8: Metallurgic Infuser
* 9: Purification Chamber
* @author AidanBrady
*
*/
@@ -130,7 +131,7 @@ public class BlockMachine extends BlockContainer
return 9;
}
else {
return 2;
return 26;
}
}
else if(meta == 1)
@@ -140,7 +141,7 @@ public class BlockMachine extends BlockContainer
return 14;
}
else {
return 2;
return 26;
}
}
else if(meta == 2)
@@ -183,6 +184,10 @@ public class BlockMachine extends BlockContainer
{
return 41;
}
else if(side == 0 || side == 1)
{
return 47;
}
else {
return 44;
}
@@ -193,6 +198,10 @@ public class BlockMachine extends BlockContainer
{
return 42;
}
else if(side == 0 || side == 1)
{
return 48;
}
else {
return 45;
}
@@ -203,6 +212,10 @@ public class BlockMachine extends BlockContainer
{
return 43;
}
else if(side == 0 || side == 1)
{
return 49;
}
else {
return 46;
}
@@ -217,6 +230,16 @@ public class BlockMachine extends BlockContainer
return 32;
}
}
else if(meta == 9)
{
if(side == 3)
{
return 12;
}
else {
return 2;
}
}
else {
return 0;
}
@@ -236,7 +259,7 @@ public class BlockMachine extends BlockContainer
return MekanismUtils.isActive(world, x, y, z) ? 8 : 9;
}
else {
return 2;
return 26;
}
}
else if(metadata == 1)
@@ -246,7 +269,7 @@ public class BlockMachine extends BlockContainer
return MekanismUtils.isActive(world, x, y, z) ? Mekanism.ANIMATED_TEXTURE_INDEX+2 : 14;
}
else {
return 2;
return 26;
}
}
else if(metadata == 2)
@@ -295,6 +318,10 @@ public class BlockMachine extends BlockContainer
{
return 41;
}
else if(side == 0 || side == 1)
{
return 47;
}
else {
return 44;
}
@@ -305,6 +332,10 @@ public class BlockMachine extends BlockContainer
{
return 42;
}
else if(side == 0 || side == 1)
{
return 48;
}
else {
return 45;
}
@@ -315,6 +346,10 @@ public class BlockMachine extends BlockContainer
{
return 43;
}
else if(side == 0 || side == 1)
{
return 49;
}
else {
return 46;
}
@@ -329,6 +364,16 @@ public class BlockMachine extends BlockContainer
return MekanismUtils.isActive(world, x, y, z) ? Mekanism.ANIMATED_TEXTURE_INDEX+8 : 32;
}
}
else if(metadata == 9)
{
if(side == tileEntity.facing)
{
return MekanismUtils.isActive(world, x, y, z) ? Mekanism.ANIMATED_TEXTURE_INDEX+9 : 12;
}
else {
return 2;
}
}
else {
return 0;
}
@@ -358,6 +403,7 @@ public class BlockMachine extends BlockContainer
list.add(new ItemStack(i, 1, 6));
list.add(new ItemStack(i, 1, 7));
list.add(new ItemStack(i, 1, 8));
list.add(new ItemStack(i, 1, 9));
}
@Override
@@ -504,7 +550,8 @@ public class BlockMachine extends BlockContainer
BASIC_SMELTING_FACTORY(5, 11, TileEntitySmeltingFactory.class, false),
ADVANCED_SMELTING_FACTORY(6, 11, TileEntityAdvancedSmeltingFactory.class, false),
ELITE_SMELTING_FACTORY(7, 11, TileEntityEliteSmeltingFactory.class, false),
METALLURGIC_INFUSER(8, 12, TileEntityMetallurgicInfuser.class, false);
METALLURGIC_INFUSER(8, 12, TileEntityMetallurgicInfuser.class, false),
PURIFICATION_CHAMBER(9, 15, TileEntityPurificationChamber.class, false);
public int meta;
public int guiId;