minor cleanup

This commit is contained in:
Rseifert 2012-09-05 23:15:16 -04:00
parent df6e890c43
commit ce3d3afcfe
6 changed files with 7 additions and 18 deletions

View file

@ -31,7 +31,7 @@ import cpw.mods.fml.common.registry.LanguageRegistry;
@NetworkMod(channels = { "Pipes" }, clientSideRequired = true, serverSideRequired = false, packetHandler = PacketManager.class)
public class BasicPipesMain{
@Instance
public BasicPipesMain instance;
@SidedProxy(clientSide = "basicpipes.PipeClientProxy", serverSide = "basicpipes.PipeProxy")

View file

@ -5,6 +5,8 @@ import net.minecraft.src.*;
import java.util.Random;
import basicpipes.BasicPipesMain;
public class BlockMachine extends BlockContainer
{
@ -74,10 +76,9 @@ public class BlockMachine extends BlockContainer
return null;
}
@Override
public String getTextureFile()
{
return basicpipes.BasicPipesMain.textureFile + "/items.png";
}
public String getTextureFile() {
return BasicPipesMain.textureFile+"/Items.png";
}
}

View file

@ -1,12 +0,0 @@
package basicpipes.pipes;
import net.minecraft.src.ItemBlock;
public class ItemMachine extends ItemBlock {
public ItemMachine(int par1) {
super(par1);
// TODO Auto-generated constructor stub
}
}

View file

@ -45,7 +45,7 @@ public class SteamPowerMain{
public static Block engine = new BlockSteamPiston(EngineID).setBlockName("SteamEngien");
public static Block gen = new BlockGenerator(genID).setBlockName("ElecGen");
public static Item itemEngine = new ItemEngine(EngineItemID).setItemName("SteamEngine");
@Instance
public static SteamPowerMain instance;
@SidedProxy(clientSide = "steampower.SteamClientProxy", serverSide = "steampower.SteamProxy")

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 770 B