minor cleanup
This commit is contained in:
parent
df6e890c43
commit
ce3d3afcfe
6 changed files with 7 additions and 18 deletions
|
@ -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")
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
}
|
|
@ -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")
|
||||
|
|
BIN
src/minecraft/textures/pipes/LavaPipe.png
Normal file
BIN
src/minecraft/textures/pipes/LavaPipe.png
Normal file
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 |
Loading…
Reference in a new issue