Fixes #293 and removed java doc
This commit is contained in:
parent
3db2db3c7c
commit
cf36bc9dc1
3 changed files with 9 additions and 7 deletions
10
build.gradle
10
build.gradle
|
@ -19,6 +19,8 @@ apply plugin: 'forge'
|
|||
apply plugin: 'maven'
|
||||
apply plugin: 'maven-publish'
|
||||
|
||||
sourceCompatibility = 1.7
|
||||
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
|
@ -178,11 +180,6 @@ javadoc {
|
|||
include 'techreborn/api/**/*'
|
||||
}
|
||||
|
||||
// add a javadoc jar
|
||||
task javadocJar(type: Jar, dependsOn: javadoc) {
|
||||
classifier = 'javadoc'
|
||||
from 'build/docs/javadoc'
|
||||
}
|
||||
|
||||
apiJar.mustRunAfter deobfJar
|
||||
|
||||
|
@ -190,10 +187,9 @@ artifacts {
|
|||
archives sourceJar
|
||||
archives deobfJar
|
||||
archives apiJar
|
||||
archives javadocJar
|
||||
}
|
||||
|
||||
build.dependsOn sourceJar, javadocJar, deobfJar, apiJar
|
||||
build.dependsOn sourceJar, deobfJar, apiJar
|
||||
|
||||
uploadArchives {
|
||||
repositories {
|
||||
|
|
|
@ -83,6 +83,9 @@ public class TileGrinder extends TilePowerAcceptor implements IWrenchable, IFlui
|
|||
for (ForgeDirection direction : ForgeDirection.VALID_DIRECTIONS) {
|
||||
TileEntity tileEntity = worldObj.getTileEntity(xCoord + direction.offsetX, yCoord + direction.offsetY, zCoord + direction.offsetZ);
|
||||
if (tileEntity instanceof TileMachineCasing) {
|
||||
if(!((TileMachineCasing) tileEntity).isConnected()){
|
||||
return false;
|
||||
}
|
||||
if ((tileEntity.getBlockType() instanceof BlockMachineCasing)) {
|
||||
int heat;
|
||||
heat = BlockMachineCasing.getHeatFromMeta(tileEntity.getBlockMetadata());
|
||||
|
|
|
@ -70,6 +70,9 @@ public class TileImplosionCompressor extends TilePowerAcceptor implements IWrenc
|
|||
for (ForgeDirection direction : ForgeDirection.VALID_DIRECTIONS) {
|
||||
TileEntity tileEntity = worldObj.getTileEntity(xCoord + direction.offsetX, yCoord + direction.offsetY, zCoord + direction.offsetZ);
|
||||
if (tileEntity instanceof TileMachineCasing) {
|
||||
if(!((TileMachineCasing) tileEntity).isConnected()){
|
||||
return false;
|
||||
}
|
||||
if ((tileEntity.getBlockType() instanceof BlockMachineCasing)) {
|
||||
int heat;
|
||||
heat = BlockMachineCasing.getHeatFromMeta(tileEntity.getBlockMetadata());
|
||||
|
|
Loading…
Add table
Reference in a new issue