reduced the amount of calls to BlockIEBase, I want to get stop using that class at some point
fixed missing localization for the creative tab
changed build.gradle to automatically download the latest version of IC2
This commit is contained in:
malte0811 2016-10-28 08:26:20 +02:00
parent c6c0bb00c9
commit ba2bec5d95
4 changed files with 32 additions and 4 deletions

View file

@ -1,5 +1,5 @@
def mainVersion = "1.1"
def buildNumber = "2"
def buildNumber = "3"
// For those who want the bleeding edge
buildscript {
@ -53,7 +53,7 @@ repositories {
}
dependencies {
deobfCompile "net.industrial-craft:industrialcraft-2:2.6.9-ex110:dev"
deobfCompile "net.industrial-craft:industrialcraft-2:2.6.+:dev"
}
jar {

View file

@ -1,3 +1,8 @@
#####Version 1.1-3
- fixed incompatibility with IE build 48
- reduced the amount of calls to core IE classes to make such incompatibilities less likely
- fixed localization of the creative tab
#####Version 1.1-2
- wire coils now use a different amount of wire depending on how long the connection is
- wire coils are crafted by placing any amount of IC2 cables and/or the corresponding wire coils in a crafting table now

View file

@ -47,8 +47,6 @@ public class BlockIC2Connector extends BlockIETileProvider<BlockTypes_IC2_Connec
setHardness(3.0F);
setResistance(15.0F);
lightOpacity = 0;
setAllNotNormalBlock();
setBlockLayer(BlockRenderLayer.SOLID, BlockRenderLayer.TRANSLUCENT);
this.setCreativeTab(IndustrialWires.creativeTab);
}
@Override
@ -115,4 +113,28 @@ public class BlockIC2Connector extends BlockIETileProvider<BlockTypes_IC2_Connec
public String createRegistryName() {
return IndustrialWires.MODID+":"+name;
}
@Override
public boolean canRenderInLayer(BlockRenderLayer layer) {
return layer==BlockRenderLayer.TRANSLUCENT||layer==BlockRenderLayer.SOLID;
}
@Override
public boolean isFullBlock(IBlockState state) {
return false;
}
@Override
public boolean isFullCube(IBlockState state) {
return false;
}
@Override
public boolean isNormalCube(IBlockState state, IBlockAccess world, BlockPos pos) {
return false;
}
@Override
public boolean isOpaqueCube(IBlockState state) {
return false;
}
@Override
public boolean isVisuallyOpaque() {
return false;
}
}

View file

@ -21,6 +21,7 @@ industrialwires.desc.recipe=Please check the Engineer's manual for recipe detail
industrialwires.chat.tooLong=This coil does not contain enough wire for this connection
industrialwires.chat.stackSize=Linking is only possible with a stack of size 1
itemGroup.industrialwires=Industrial Wires
ie.manual.category.industrialWires.name=Industrial Wires
ie.manual.entry.industrialWires.all.name=Industrial Wires