added some methods needed for new IE versions
chaged forge version to use to latest
This commit is contained in:
parent
3d9f199d66
commit
a113a3d608
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -353,4 +353,9 @@ public class TileEntityIC2ConnectorTin extends TileEntityImmersiveConnectable im
|
|||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canRotate(EnumFacing axis) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue