added some methods needed for new IE versions

chaged forge version to use to latest
This commit is contained in:
malte0811 2017-02-21 17:38:15 +01:00
parent 3d9f199d66
commit a113a3d608
5 changed files with 21 additions and 1 deletions

View file

@ -30,7 +30,7 @@ sourceCompatibility = 1.8
targetCompatibility = 1.8
minecraft {
version = "12.18.3.2185"
version = "12.18.3.2234"
runDir = "run"
replace '${version}', project.version

View file

@ -143,4 +143,9 @@ public class TileEntityIEMotor extends TileEntityIWBase implements ITickable, IF
}
return super.getCapability(capability, facing);
}
@Override
public boolean canRotate(EnumFacing axis) {
return true;
}
}

View file

@ -100,4 +100,9 @@ public class TileEntityMechICtoIE extends TileEntityIWBase implements IDirection
public boolean canHammerRotate(EnumFacing side, float hitX, float hitY, float hitZ, EntityLivingBase entity) {
return true;
}
@Override
public boolean canRotate(EnumFacing axis) {
return true;
}
}

View file

@ -96,4 +96,9 @@ public class TileEntityMechIEtoIC extends TileEntityIWBase implements IDirection
rotBuffer = Math.min(rotBufMax, rotBuffer+rotation);
}
}
@Override
public boolean canRotate(EnumFacing axis) {
return true;
}
}

View file

@ -353,4 +353,9 @@ public class TileEntityIC2ConnectorTin extends TileEntityImmersiveConnectable im
}
return true;
}
@Override
public boolean canRotate(EnumFacing axis) {
return false;
}
}