AL 0.1.3 Release
This commit is contained in:
parent
232988887a
commit
0ba2651413
5 changed files with 12 additions and 9 deletions
|
@ -1 +1 @@
|
||||||
10
|
13
|
||||||
|
|
2
info.txt
2
info.txt
|
@ -9,3 +9,5 @@
|
||||||
Minecraft 1.3.2
|
Minecraft 1.3.2
|
||||||
* AssemblyLine_v0.1.2.10.jar AssemblyLine_v0.1.2.10_api.zip
|
* AssemblyLine_v0.1.2.10.jar AssemblyLine_v0.1.2.10_api.zip
|
||||||
Minecraft 1.4.2
|
Minecraft 1.4.2
|
||||||
|
@ AssemblyLine_v0.1.3.11.jar AssemblyLine_v0.1.3.11_api.zip
|
||||||
|
* AssemblyLine_v0.1.3.13.jar AssemblyLine_v0.1.3.13_api.zip
|
||||||
|
|
BIN
resources/al_logo.png
Normal file
BIN
resources/al_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
|
@ -52,7 +52,7 @@ public class AssemblyLine
|
||||||
|
|
||||||
public static final Configuration CONFIGURATION = new Configuration(new File(Loader.instance().getConfigDir(), "UniversalElectricity/AssemblyLine.cfg"));
|
public static final Configuration CONFIGURATION = new Configuration(new File(Loader.instance().getConfigDir(), "UniversalElectricity/AssemblyLine.cfg"));
|
||||||
|
|
||||||
public static final int BLOCK_ID_PREFIX = 3003;
|
public static final int BLOCK_ID_PREFIX = 3020;
|
||||||
public static final Block blockConveyorBelt = new BlockConveyorBelt(UEConfig.getBlockConfigID(CONFIGURATION, "Conveyor Belt", BLOCK_ID_PREFIX));
|
public static final Block blockConveyorBelt = new BlockConveyorBelt(UEConfig.getBlockConfigID(CONFIGURATION, "Conveyor Belt", BLOCK_ID_PREFIX));
|
||||||
public static final Block blockInteraction = new BlockMulti(UEConfig.getBlockConfigID(CONFIGURATION, "Machine", BLOCK_ID_PREFIX + 1));
|
public static final Block blockInteraction = new BlockMulti(UEConfig.getBlockConfigID(CONFIGURATION, "Machine", BLOCK_ID_PREFIX + 1));
|
||||||
public static final Block blockArchitectTable = new BlockArchitectTable(UEConfig.getBlockConfigID(CONFIGURATION, "Architect's Table", BLOCK_ID_PREFIX + 2));
|
public static final Block blockArchitectTable = new BlockArchitectTable(UEConfig.getBlockConfigID(CONFIGURATION, "Architect's Table", BLOCK_ID_PREFIX + 2));
|
||||||
|
@ -60,7 +60,7 @@ public class AssemblyLine
|
||||||
@PreInit
|
@PreInit
|
||||||
public void preInit(FMLPreInitializationEvent event)
|
public void preInit(FMLPreInitializationEvent event)
|
||||||
{
|
{
|
||||||
UniversalElectricity.register(this, 1, 1, 1, false);
|
UniversalElectricity.register(this, 1, 1, 3, false);
|
||||||
instance = this;
|
instance = this;
|
||||||
NetworkRegistry.instance().registerGuiHandler(this, this.proxy);
|
NetworkRegistry.instance().registerGuiHandler(this, this.proxy);
|
||||||
GameRegistry.registerBlock(blockConveyorBelt);
|
GameRegistry.registerBlock(blockConveyorBelt);
|
||||||
|
|
|
@ -83,6 +83,7 @@ public class TileEntityConveyorBelt extends TileEntityElectricityReceiver implem
|
||||||
}
|
}
|
||||||
|
|
||||||
this.powerTransferRange = rr - 1;
|
this.powerTransferRange = rr - 1;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -110,7 +111,7 @@ public class TileEntityConveyorBelt extends TileEntityElectricityReceiver implem
|
||||||
|
|
||||||
if (!(worldObj.getBlockTileEntity(xCoord, yCoord - 1, zCoord) instanceof IConductor))
|
if (!(worldObj.getBlockTileEntity(xCoord, yCoord - 1, zCoord) instanceof IConductor))
|
||||||
{
|
{
|
||||||
searchNeighborBelts();
|
this.searchNeighborBelts();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.powerTransferRange > 0)
|
if (this.powerTransferRange > 0)
|
||||||
|
@ -165,22 +166,22 @@ public class TileEntityConveyorBelt extends TileEntityElectricityReceiver implem
|
||||||
if (direction == 0)
|
if (direction == 0)
|
||||||
{
|
{
|
||||||
entity.motionZ -= 1 * this.speed;
|
entity.motionZ -= 1 * this.speed;
|
||||||
entity.posX = this.xCoord + 0.5D;
|
//entity.posX = this.xCoord + 0.5D;
|
||||||
}
|
}
|
||||||
if (direction == 1)
|
if (direction == 1)
|
||||||
{
|
{
|
||||||
entity.motionX += 1 * this.speed;
|
entity.motionX += 1 * this.speed;
|
||||||
entity.posZ = this.zCoord + 0.5D;
|
//entity.posZ = this.zCoord + 0.5D;
|
||||||
}
|
}
|
||||||
if (direction == 2)
|
if (direction == 2)
|
||||||
{
|
{
|
||||||
entity.motionZ += 1 * this.speed;
|
entity.motionZ += 1 * this.speed;
|
||||||
entity.posX = this.xCoord + 0.5D;
|
//entity.posX = this.xCoord + 0.5D;
|
||||||
}
|
}
|
||||||
if (direction == 3)
|
if (direction == 3)
|
||||||
{
|
{
|
||||||
entity.motionX -= 1 * this.speed;
|
entity.motionX -= 1 * this.speed;
|
||||||
entity.posZ = this.zCoord + 0.5D;
|
//entity.posZ = this.zCoord + 0.5D;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue