changed build script too download api's
This commit is contained in:
parent
2d27765897
commit
3b651891a4
4 changed files with 45 additions and 5 deletions
|
@ -1,6 +1,9 @@
|
|||
dir.development=./
|
||||
dir.ic=industrialcraft-2-api_1.115.761.zip
|
||||
dir.bc=https://github.com/BuildCraft/BuildCraft/archive/master.zip
|
||||
dir.cc=http://www.mediafire.com/download.php?3wvs96pl34rchuh
|
||||
dir.mcp=${dir.development}forge/mcp
|
||||
version.minecraft=1.5+
|
||||
version.minecraft=1.5.1
|
||||
version.mod.major=0
|
||||
version.mod.minor=3
|
||||
version.mod.revis=5
|
||||
|
|
41
build.xml
41
build.xml
|
@ -10,12 +10,24 @@
|
|||
|
||||
<delete dir="contents" />
|
||||
<delete dir="build" />
|
||||
<delete dir="download" />
|
||||
<delete dir="${dir.development}/forge" />
|
||||
|
||||
<copy todir="${dir.development}">
|
||||
<fileset dir="../Minecraft Forge/" />
|
||||
</copy>
|
||||
|
||||
|
||||
<mkdir dir="download" />
|
||||
<mkdir dir="download/cc" />
|
||||
<get src="https://github.com/DarkGuardsman/Dark-Library/archive/master.zip" dest="download" usetimestamp="True"/>
|
||||
<unzip dest="download/unzip/.." src="download/master.zip"/>
|
||||
<get src="http://ic2api.player.to:8080/job/IC2/lastSuccessfulBuild/artifact/packages/${dir.ic}" dest="download" usetimestamp="True"/>
|
||||
<unzip dest="download/unzip/.." src="download/master.zip"/>
|
||||
<get src="${dir.bc}" dest="download" usetimestamp="True"/>
|
||||
<unzip dest="download/unzip/.." src="download/master.zip"/>
|
||||
<get src="${dir.cc}" dest="download" usetimestamp="True"/>
|
||||
<unzip dest="download/cc/" src="download/ComputerCraft1.52.zip.zip"/>
|
||||
|
||||
<copy todir="${dir.mcp}/src/minecraft">
|
||||
|
||||
<fileset dir="${dir.development}src">
|
||||
|
@ -27,6 +39,26 @@
|
|||
<exclude name=".git/**"/>
|
||||
<exclude name="**/*.xml"/>
|
||||
</fileset>
|
||||
|
||||
<fileset dir="download/Dark-Library-master/src/minecraft/">
|
||||
<exclude name=".git/**"/>
|
||||
<exclude name="**/*.xml"/>
|
||||
</fileset>
|
||||
|
||||
<fileset dir="download/cc/api/src/dan200">
|
||||
<exclude name=".git/**"/>
|
||||
<exclude name="**/*.xml"/>
|
||||
</fileset>
|
||||
|
||||
<fileset dir="download/ic2">
|
||||
<exclude name=".git/**"/>
|
||||
<exclude name="**/*.xml"/>
|
||||
</fileset>
|
||||
|
||||
<fileset dir="download/BuildCraft-master/common/buildcraft/api">
|
||||
<exclude name=".git/**"/>
|
||||
<exclude name="**/*.xml"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
<mkdir dir="contents" />
|
||||
|
@ -67,6 +99,13 @@
|
|||
<exclude name=".git/**"/>
|
||||
<exclude name="**/*.java"/>
|
||||
<exclude name="**/*.xml"/>
|
||||
|
||||
<fileset dir="download/Dark-Library-master/resources">
|
||||
<exclude name=".git/**"/>
|
||||
<exclude name="**/*.java"/>
|
||||
<exclude name="**/*.xml"/>
|
||||
</fileset>
|
||||
|
||||
</fileset>
|
||||
|
||||
</copy>
|
||||
|
|
|
@ -47,7 +47,6 @@ public class BlockCrate extends BlockALMachine
|
|||
@Override
|
||||
public Icon getBlockTexture(IBlockAccess iBlockAccess, int x, int y, int z, int side)
|
||||
{
|
||||
|
||||
return this.crate_icon;
|
||||
}
|
||||
|
||||
|
|
|
@ -289,7 +289,6 @@ public class TileEntityCrate extends TileEntityAdvanced implements ITier, IInven
|
|||
@Override
|
||||
public boolean isStackValidForSlot(int i, ItemStack itemstack)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue